[BUG REPORT] git-svn fails to create branches if ssh+svn gets used as protocol.
- From
- Florian 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