From: Hin-Tak Leung Date: Mon, 22 Aug 2011 15:57:27 GMT Subject: Re: git svn --stdlayout 's little quirk. Message-ID: <1314028647.33750.YahooMailClassic@web29502.mail.ird.yahoo.com> In-Reply-To: <4E52759E.3020005@drmicha.warpmail.net> --- On Mon, 22/8/11, Michael J Gruber wrote: > >> 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. > > > > Okay... thanks for clarifying that. Maybe it could try > to be clever? Afterall, --stdlayout isn't compatible with a > URL ending in "trunk" (or having 'trunk' as part of the > URL). Just a suggestion. > > You *could* have this layout: > > foo/trunk/trunk > foo/trunk/tags/v1 > foo/trunk/tags/v2 > > That's a perfectly valid layout. The fact that it is > stupidly named > should not activate git-svn magic. Fair enough. Perhaps --stdlayout in combination with URL having "trunk" in the name can emit a warning? e.g. "are you sure? That looks a bit stupidly named". I wrote because I think git-svn could either try a bit harder at guessing, or be a bit clearer about the repository not conforming to a standard layout (if the URL is wrong). Hin-Tak