Difference between revisions of "How to regenerate the HiNRG Git repository"

From TinyOS Wiki
Jump to: navigation, search
(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...)
 
 
Line 9: Line 9:
 
         url = http://tinyos-main.googlecode.com/svn
 
         url = http://tinyos-main.googlecode.com/svn
 
         fetch = trunk:refs/remotes/trunk
 
         fetch = trunk:refs/remotes/trunk
        branches = branches/*:refs/remotes/*
 
        tags = tags/*:refs/remotes/tags/*
 
 
  ^D
 
  ^D
 
  $ git svn fetch svn
 
  $ git svn fetch svn

Latest revision as of 11:07, 29 December 2011

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