How to regenerate the HiNRG Git repository

From TinyOS Wiki
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