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

Re: Problem with git svn clone --authors-file

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Oct 27, 2011, 06:58 UTC
Message-ID
<4EA90109.4070504@alum.mit.edu>
In-Reply-To
<CABDh3gSsi9xwvw-6stw7URGK112LvF8Rt4XJeTwGM3q-tML=2Q@mail.gmail.com>
On 10/27/2011 01:51 AM, edman747 wrote:
Show 23 quoted lines
> Hello,
> Attempting to clone a remote svn repo where I don't know all the
> previous SVN author names.
> installed msysgit (vista)
> gitbash,
> $ mkdir test
> $ cd test
> 
> create authors file with a few known authors.
> 
> $ git svn clone --authors-file=authors http://svn.repo/trunk
> ...
> runs fine until
> Author: (no author) not defined in authors file
> 
> edit authors file add line: (no author) = none <email>
> 
> ------
> rerun previous git svn command
> 
> $ git svn clone --authors-file=authors http://svn.repo/trunk
> Using existing [svn-remote "svn"]
> svn-remote.svn.fetch already set to track :refs/remotes/git-svn
I'm not quite sure what your complaint is.

"git svn clone" is equivalent to a "git svn init" followed by "git svn fetch". I would have thought that by the time "git svn clone" notices a problem with the authors file, it would already be in the "git svn fetch" phase. So it seems to me that after the first "clone" fails, one should probably run "git svn fetch" instead of "git svn clone" again.

If this is the case (and the cause of your problem), then the documentation and error message should be made clearer.

Michael
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: edman747
Message 2 of 2 in “Problem with git svn clone --authors-file”
  1. edman747Oct 26, 2011
  2. Michael HaggertyOct 27, 2011

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.