How to regenerate the HiNRG Git repository

From TinyOS Wiki
Revision as of 20:08, 28 December 2011 by RazvanM (talk | contribs) (New page: Here is a way to reconstruct the [http://git.hinrg.cs.jhu.edu/?p=tinyos-2.x.svn HiNRG tinyos-2.x.svn] git repository. The hashes obtained using this method should be same. $ cd /tmp $ m...)
(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
       branches = branches/*:refs/remotes/*
       tags = tags/*:refs/remotes/tags/*
^D
$ git svn fetch svn