How to regenerate the HiNRG Git repository

From TinyOS Wiki
Revision as of 10:07, 29 December 2011 by RazvanM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here is a way to reconstruct the HiNRG tinyos-2.x.svn git repository. The hashes obtained using this method should be same.

$ cd /tmp
$ mkdir tinyos-2.x.git
$ cd tinyos-2.x.git
$ git init
$ cat >> .git/config
[svn-remote "svn"]
       url = http://tinyos-main.googlecode.com/svn
       fetch = trunk:refs/remotes/trunk
^D
$ git svn fetch svn