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

Re: BUG: git-svn does not escape literal backslashes in author names.

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 17, 2007, 20:43 UTC
Message-ID
<20071117204348.GA16333@muzzle>
In-Reply-To
<1213a9470711120628l4ccab632n17635295ec897a2@mail.gmail.com>
Adrian Wilkins <adrian.wilkins@gmail.com> wrote:
Show 18 quoted lines
> Recently converted a large (11,000+ revisions) repository.
> 
> We authenticate against the NT domain controller, so all our revision
> authors are of the form "domain\user". (You can switch off mod_sspi
> reporting the domain part, but I didn't know about this at the time,
> so it continues for historical reasons.)
> 
> git-svn treats the literal backslashes in the author names as escapes.
> This leads to authors like
> 
> domainkevin
> domain\
> ichard
> 
> I know, I should have read the manual and used my "authors" file. Bah.
> 
> I'm sure that part of the revision hash in git includes the author
> name... so I guess I'm looking at another multi-day conversion. :-(

git-filter-branch should be able to take care of it. If you find an invocation that's useful to others, it'd be great to post it on the list as well :)

> Can I suggest that you make the authors file compulsory by default as well?

Not going to happen. I personally _hate_ having to track down author information and make an authors file, and I suspect many others feel the same. I've never used this feature in git-svn on any real repository.

-- 
Eric Wong
Previous: Benoit SigoureNext: Andreas Ericsson
Message 3 of 4 in “BUG: git-svn does not escape literal backslashes in author names.”
  1. Adrian WilkinsNov 12, 2007
  2. BUG in gitk (was: Re: BUG: git-svn does not escape literal backslashes in author names.)Benoit Sigoure, Nov 17, 2007
  3. Eric WongNov 17, 2007
  4. Andreas EricssonNov 17, 2007

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.