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

[BUG REPORT] git-svn fails to create branches if ssh+svn gets used as protocol.

From
FKFlorian Köberle <florian@fkoeberle.de>
Date
Dec 22, 2009, 09:53 UTC
Message-ID
<4B309730.5070509@fkoeberle.de>
Hello

I haven't seen a link to a bug tracker so I am sending this bug report to the mailing list, I hope it's okay.

If you try to run $ git svn branch foo in a project using a svn+ssh url, you get the following error log:

Copying svn+ssh://example.org/svn/project/trunk at r1000 to svn+ssh://me@example.org/svn/project/branches/foo... Trying to use an unsupported feature: Source and dest appear not to be in the same repository (src: 'svn+ssh://example.org/svn/project/trunk'; dst: 'svn+ssh://me@example.org/svn/project/branches/foo') at /home/florian/libexec/git-core/git-svn line 722

It fails as the username is missing in the source url. If you modify the git-svn script and add the username it works. The bug can be reproduced with git-svn version 1.6.5.7 (svn 1.5.1).

Best regards, Florian

Next: Eric Wong
Message 1 of 4 in “[BUG REPORT] git-svn fails to create branches if ssh+svn gets used as protocol.”
  1. Florian KöberleDec 22, 2009
  2. Eric WongDec 23, 2009
  3. Florian KöberleDec 23, 2009
  4. Eric WongDec 23, 2009

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.