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

Re: A case for tailor

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
Nov 16, 2005, 23:40 UTC
Message-ID
<pan.2005.11.16.23.40.20.119887@smurf.noris.de>
In-Reply-To
<Pine.LNX.4.63.0511151931001.1157@wbgn013.biozentrum.uni-wuerzburg.de>
Hi, Johannes Schindelin wrote:
> Possible explanation: at some early stage, the trunk was named "trunk", 
> but somehow (don´t ask me how, I am a fan of git, not svn) renamed to 
> "head".

Well, you *could* use "-T trunk" to import the first part, ^C when it starts complaining about 'head', duplicate the last line of .git/svn2git (incrementing the SVN change number), and continue with "-T head".

That hackery sortof depends on Upstream not changing anything *else* while renaming 'trunk' to 'head' ...

Of course, the second possibility is to allow patterns as prefixes, drop the distinction of "trunk" and "branch", and store the refs as full paths under .git/refs/heads/**. You're welcome to submit a patch; please don't forget backwards compatibility for those poor souls who need to do incremental imports. ;-)

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Got a dictionary?  I want to know the meaning of life.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 of 5 in “A case for tailor”
  1. Johannes SchindelinNov 15, 2005
  2. Martin LanghoffNov 15, 2005
  3. Johannes SchindelinNov 15, 2005
  4. Matthias UrlichsNov 16, 2005
  5. Johannes SchindelinNov 17, 2005

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.