git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Adam Dinwoodie <adam@dinwoodie.org>
Date
Mar 15, 2016, 16:23 UTC
Message-ID
<20160315162344.GM29016@dinwoodie.org>
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?
Message 1 of 1 in “SVN clone on Cygwin drops a / and reports "not a complete URL"”
  1. Adam DinwoodieMar 15, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.