cygporter / git

Cygwin Git packaging paraphernalia
2 stars 2 forks source link

Cannot clone SVN repositories #19

Closed me-and closed 8 years ago

me-and commented 8 years ago

Reported here

$ git svn init -T svn://svn.code.sf.net/p/squirrelmail/code/trunk
Initialized empty Git repository in /home/add/tmp/.git/
E: 'svn:/svn.code.sf.net/p/squirrelmail/code/trunk' is not a complete URL  and a separate URL is not specified

The same problem occurs with http:// links as with svn:// links, and I've tested and seen the same behaviour on both v2.7.0 and v2.2.0.

Interestingly, the below does work:

$ git svn init svn://svn.code.sf.net/p/squirrelmail/code
Initialized empty Git repository in /home/add/tmp/.git/

$ git config svn-remote.svn.fetch trunk:refs/remotes/origin/trunk

$ git svn fetch
r1 = 12dc820c417dc5f12723307a3fcfa4629ea972fb (refs/remotes/origin/trunk)
        A       squirrelmail/ATHORS
        A       squirrelmail/login.php3
        A       squirrelmail/signout.php3
...
me-and commented 8 years ago

Fixed upstream in v2.8.0 by commit b557165.