From: Michael J Gruber Date: Mon, 22 Aug 2011 09:01:07 GMT Subject: Re: git svn --stdlayout 's little quirk. Message-ID: <4E521AD3.4040204@drmicha.warpmail.net> In-Reply-To: <1313919482.36626.YahooMailClassic@web29501.mail.ird.yahoo.com> Hin-Tak Leung venit, vidit, dixit 21.08.2011 11:38: > --- On Sat, 20/8/11, Eric Wong wrote: > >>> I think I found a small bug in git 1.7.6. Having >> "trunk" at the end of >>> the url in combination of --stdlayout is wrong, but it >> looks like that >>> git-svn tries to cope, but doesn't go try far enough: >>> >>> Doing this: >>> ---------------- >>> git svn clone --stdlayout http://quick-settings.googlecode.com/svn/trunk/ >> android-quick-settings >> >> --stdlayout expects the "root" path of the code you're >> interested >> in (not necessarily the SVN repository root, but in this >> case they >> could be the same). >> >> Try the following instead: >> >> git svn clone --stdlayout \ >> http://quick-settings.googlecode.com/svn >> android-quick-settings > > I know this is the correct way - what I meant was that, having "trunk" at the end is wrong but git-svn appears to try to correct it automatically, but haven't quite succceeded. It is not trying to do that at all. git-svn is trying to figure out what the "base path" is in an svn repo which possibly hosts multiple repos, and that is what the message reports. Michael