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

Re: git svn --stdlayout 's little quirk.

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Aug 22, 2011, 09:01 UTC
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:
Show 26 quoted lines
> --- On Sat, 20/8/11, Eric Wong <normalperson@yhbt.net> 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
Previous: Hin-Tak LeungNext: Hin-Tak Leung
Message 4 of 8 in “git svn --stdlayout 's little quirk.”
  1. Hin-Tak LeungAug 20, 2011
  2. Eric WongAug 20, 2011
  3. Hin-Tak LeungAug 21, 2011
  4. Michael J GruberAug 22, 2011
  5. Hin-Tak LeungAug 22, 2011
  6. Michael J GruberAug 22, 2011
  7. Hin-Tak LeungAug 22, 2011
  8. Andreas KreyAug 23, 2011

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.