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

Re: [PATCH] Allow git-svnimport to take "" as the trunk directory.

From
David Kastrup <dak@gnu.org>
Date
Aug 14, 2007, 05:45 UTC
Message-ID
<85vebi3bzv.fsf@lola.goethe.zz>
In-Reply-To
<11870641981207-git-send-email-albertito@gmail.com>
Alberto Bertogli <albertito@gmail.com> writes:
Show 5 quoted lines
> Some repositories started with the trunk in "/" and then moved it to the
> standard "trunk/" location.
>
> On these repositories, the correct thing would be to call
> git-svnimport -T "",

I would not call that the best solution: it makes the bad decision from the past impact useful work in the future. I very much like git having a good toplevel directory structure.

There are two approaches possible: one is to version the mapping trunk/tags/branches. Another would be if one could tell git-svn where to stick stuff that does not sort into trunk/tags/branches. Incidentally, I've seen repositories that have something like a "support" or "vendor" directory, too.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Previous: Alberto BertogliNext: Leandro Lucarella
Message 2 of 4 in “Allow git-svnimport to take "" as the trunk directory.”
  1. Allow git-svnimport to take "" as the trunk directory.Alberto Bertogli, Aug 14, 2007
  2. David KastrupAug 14, 2007
  3. Leandro LucarellaAug 14, 2007
  4. David KastrupAug 14, 2007

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.