Re: git-svn vs. $Id$
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- May 21, 2006, 01:12 UTC
- Message-ID
- <20060521011204.GA18886@hand.yhbt.net>
- In-Reply-To
- <446A15F8.3040106@inoi.fi>
Tommi Virtanen <tv@inoi.fi> wrote:
Show 19 quoted lines
> Linus Torvalds wrote: > > 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). > > Well, yes, I agree. But, at least git-svn.txt says this: > > BUGS > ---- > ... > svn:keywords can't be ignored in Subversion (at least I don't know of > a way to ignore them). > > I guess one might be able to reach that information through the svn API. > > Or just propget svn:keywords and sed s/\$Id\(:[^$]*\)\$/$Id$/ all files > with keywords, for all relevant keywords. Eww.
I'm working on a solution to this (using files in .svn/text-base).
keyword expansion behavior seems inconsistent on some SVN repos and I can't reproduce it on my local repositories, so I think I will have to weaken some integrity checks[1] in git-svn to work around it...
1 - I don't think these integrity checks were ever tripped in the first place.
-- Eric Wong