Re: git-svn vs. $Id$
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 16, 2006, 17:48 UTC
- Message-ID
- <Pine.LNX.4.64.0605161037220.3866@g5.osdl.org>
- In-Reply-To
- <446A0CCF.2060903@inoi.fi>
On Tue, 16 May 2006, Tommi Virtanen wrote:
> > Just wanted to let you know of a workaround: > manually edit the relevant file in .git/git-svn/tree/ to > undo the $Id$ change, and git-svn fetch works again.
Isn't there some flag to svn to avoid keyword expansion, like "-ko" to CVS?
Any import script definitely should avoid keyword expansion (and that's true whether you end up wanting to use keywords or not).
(And yes, CVS is probably a bad example. Those "substitution modes" are confusing as hell, and I don't know which one is the right one. Is it "-ko" or "-kk"? Don't ask me, I'm CVS-illiterate. I don't know why the current cvsimport uses -kk, and only does it conditionally. Whatever.)
Linus