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

Re: [PATCH 4/4] Read author names and emails from a file

From
Karl Hasselström <kha@treskal.com>
Date
Feb 27, 2006, 23:00 UTC
Message-ID
<20060227230013.GA3466@diana.vm.bytemark.co.uk>
In-Reply-To
<7vbqwt1h9r.fsf@assigned-by-dhcp.cox.net>
On 2006-02-26 21:51:12 -0800, Junio C Hamano wrote:
Show 22 quoted lines
> Andreas Ericsson <ae@op5.se> writes:
>
> > This is a good thing, but wouldn't it be better to use the same
> > format as that of cvsimport's -A flag?
>
> If both CVS and SVN have their own native format to express things
> like this, and if the format they use are different, then that is a
> valid reason for git-{cvs,svn}import to use different file format.
>
> But if that is not the case, I tend to agree that it might be easier
> for users if we had just one format. I do not think, however, any
> single project is likely to have to deal with both CVS and SVN
> upstream, importing into the same git repository, so reusing the
> mapping file would not be an issue, but having to learn how to write
> the mapping just once is a good thing.
>
> I do not offhand recall if SVN has its own native format; if it has,
> it may be better to use that, instead of matching what git-cvsimport
> does, since I do not think of a reason why the version with an equal
> sign is preferrable over the version with a space. If the version
> with '=' were the CVS native format then that might be a reason to
> prefer it, but if I recall correctly that is not the case. so...

I don't know of any SVN native format for this, so it seems silly to use a different format than git-cvsimport. I've also made a patch that saves the author information, again just like git-cvsimport.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Junio C HamanoNext: Karl Hasselström
Message 8 of 12 in “some git-svnimport improvements”
  1. 0/4 some git-svnimport improvementsKarl Hasselström, Feb 26, 2006
  2. 1/4 Mention -r in usage summaryKarl Hasselström, Feb 26, 2006
  3. 2/4 Convert executable flagKarl Hasselström, Feb 26, 2006
  4. 3/4 Convert the svn:ignore propertyKarl Hasselström, Feb 26, 2006
  5. 4/4 Read author names and emails from a fileKarl Hasselström, Feb 26, 2006
  6. Andreas EricssonFeb 26, 2006
  7. Junio C HamanoFeb 27, 2006
  8. Karl HasselströmFeb 27, 2006
  9. 1/2 Let git-svnimport's author file use same syntax as git-cvsimport'sKarl Hasselström, Feb 27, 2006
  10. Jon LoeligerMar 1, 2006
  11. Karl HasselströmMar 2, 2006
  12. 2/2 Save username -> Full Name <email@addr.es> map fileKarl Hasselström, Feb 27, 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.