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

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

From
HLHin-Tak Leung <htl10@users.sourceforge.net>
Date
Aug 22, 2011, 15:57 UTC
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 <git@drmicha.warpmail.net> wrote:
Show 22 quoted lines
> >> 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
Previous: Michael J GruberNext: Andreas Krey
Message 7 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.