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.