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

Re: git-svn and Author files question

From
RNRutger Nijlunsing <rutger@nospam.com>
Date
Apr 15, 2006, 09:25 UTC
Message-ID
<20060415092510.GA4539@nospam.com>
In-Reply-To
<m21wvzx5e6.fsf@ziti.fhcrc.org>
On Fri, Apr 14, 2006 at 01:34:57PM -0700, Seth Falcon wrote:
Show 20 quoted lines
> Hi all,
> 
> I've been using git to manually track changes to a project that uses
> svn as its primary SCM.
> 
> git-svn looks like it can help me streamline my workflow, but I'm
> getting stuck with the following:
> 
>     mkdir foo
>     cd foo
>     git-svn init $URL  <--- the svn URL
>     git-svn fetch
>     Author: dfcimm3 not defined in  file
> 
> :-(
> 
> Can someone point me to the file and the place that describes what I
> should put in it?  There are many committers to the svn project.  I'm
> hoping that I will not have to enumerate all of their names in some
> file.

I'm not familiar with git-svn, but the $GIT_DIR/svn-authors file used by git-svnimport.perl and http://www.wingding.demon.nl/git-svnconvert.rb contains lines like:

svn-author = Full Name <email@domain>

And yes, you've got to enumerate the names you want transformed. Another option is to give no authors, but then the SVN author names will be used (with email 'unknown' or something).

-- 
Rutger Nijlunsing ---------------------------------- eludias ed dse.nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------
Previous: Seth FalconNext: Eric Wong
Message 2 of 5 in “git-svn and Author files question”
  1. Seth FalconApr 14, 2006
  2. Rutger NijlunsingApr 15, 2006
  3. Eric WongApr 15, 2006
  4. Seth FalconApr 16, 2006
  5. Junio C HamanoApr 16, 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.