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

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
Previous: Tommi VirtanenNext: Tommi Virtanen
Message 2 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.