threads / discuss / 41688

SVN clone on Cygwin drops a / and reports "not a complete URL"

Subject: SVN clone on Cygwin drops a / and reports "not a complete URL"

## tl;dr

One message between Mar 15, 2016 and Mar 15, 2016.

replies: 0people: 1as markdown or json

Adam Dinwoodie· Mar 15, 2016, 16:23 UTC · lore
Hi all,

Currently, attempting to clone a Subversion repository using an svn:// or https:// URI specified with -T fails on Cygwin:

    $ 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

I don't think this is a problem in Git itself -- I see the same behaviour on clean builds of both v2.7.0 and v2.2.0, and I'm pretty sure this used to work, so that would imply there's something in the Cygwin environment that's changed. Nonetheless I'm reporting here in the hope that somebody else will have seen a similar problem or have an idea what might be going wrong.

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
    ...
There are no obvious test case failures, either.
Does anyone have any ideas about what might be going wrong?

← back to recent threads