[SciPy-dev] Question for git-svn masters

Pauli Virtanen pav at iki.fi
Wed Nov 25 18:39:11 EST 2009


ke, 2009-11-25 kello 13:07 -0800, Matthew Brett kirjoitti:
[clip]
> If I clone from the github mirror:
> 
> git clone git at github.com:matthew-brett/scipy-work.git
> 
> then the resulting clone has lost the relationship with SVN:
[clip]
> If I do this incantation (from the GitMirror page):
> 
> git-svn init -s --prefix=svn/ http://svn.scipy.org/svn/scipy
> git-svn rebase -l
> 
> after a long time, I get:
> 
> Unable to determine upstream SVN information from working tree history
[clip]

You need to add the Scipy SVN mirror remote before doing git svn init:

        git remote add svn http://projects.scipy.org/git/scipy.git
        git fetch svn

so that git-svn knows about the svn tags and branches metadata.
I also added these instructions here:

http://projects.scipy.org/numpy/wiki/GitMirror#a...forrepositoryclonedfromelsewhere

Cheers,
Pauli







More information about the SciPy-Dev mailing list