git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bug][bisected] git-svn with root branches
@ 2009-10-21 14:41 Daniel Cordero
  2009-10-22  6:30 ` Eric Wong
  2009-10-23  4:48 ` [PATCH] git svn: fix fetch where glob is on the top-level URL Eric Wong
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Cordero @ 2009-10-21 14:41 UTC (permalink / raw)
  To: Adam Brewster, Eric Wong; +Cc: git

Hello,

when trying to clone a svn repo with the command-line:

	$ git svn clone -b / http://svn.collab.net/repos/svn/

(that is, each folder in the root of the repo should be considered it's
own branch)
the clone sometimes[1] fails saying:

	ref: 'refs/remotes/' ends with a trailing slash, this is not permitted by git nor Subversion

The offending config is:
[svn-remote "svn"]
        url = http://svn.collab.net/repos/svn
        branches = /*:refs/remotes/*


This used to work in the past; I bisected the bad commit to

commit 6f5748e14cc5bb0a836b649fb8e2d6a5eb166f1d
Author: Adam Brewster <adambrewster@gmail.com>
Date:   Tue Aug 11 23:14:03 2009 -0400

    svn: allow branches outside of refs/remotes


Thanks in advance.


[1] It does work when the URL has at least 1 folder of depth
(e.g. suffix "trunk" to the above URL).

Its config section is:
[svn-remote "svn"]
        url = http://svn.collab.net/repos/svn
	branches = trunk//*:refs/remotes/*

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-23  6:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21 14:41 [bug][bisected] git-svn with root branches Daniel Cordero
2009-10-22  6:30 ` Eric Wong
     [not found]   ` <c376da900910220824g2948dc2sa1156bda59b49405@mail.gmail.com>
2009-10-22 18:55     ` Eric Wong
2009-10-23  6:38     ` Eric Wong
2009-10-23  4:48 ` [PATCH] git svn: fix fetch where glob is on the top-level URL Eric Wong
2009-10-23  6:07   ` Eric Wong
2009-10-23  6:50     ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).