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

Re: git-svn vs. $Id$

From
EWEric 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
Previous: Tommi VirtanenNext: Eric Wong
Message 4 of 8 in “git-svn vs. $Id$”
  1. Tommi VirtanenMay 16, 2006
  2. Linus TorvaldsMay 16, 2006
  3. Tommi VirtanenMay 16, 2006
  4. Eric WongMay 21, 2006
  5. git-svn: ignore expansion of svn:keywordsEric Wong, May 21, 2006
  6. Eric WongMay 24, 2006
  7. git-svn: starting a 1.1.0-pre development versionEric Wong, May 24, 2006
  8. git-svn: ignore expansion of svn:keywordsEric Wong, May 24, 2006

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.