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

Problem with git svn clone --authors-file

From
Eedman747 <edman747@gmail.com>
Date
Oct 26, 2011, 23:51 UTC
Message-ID
<CABDh3gSsi9xwvw-6stw7URGK112LvF8Rt4XJeTwGM3q-tML=2Q@mail.gmail.com>

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

It stops. $ vi trunk/.git/config delete line: fetch = :refs/remotes/git-svn

----- rerun previous git svn command

$ git svn clone --authors-file=authors http://svn.repo/trunk
...
runs fine until
Author: Bob not defined in authors file
edit authors file add line: Bob = bobby jones <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

Each time it encounters an SVN committer name that is not in the authors-file it aborts. As expected, edit the authors file and re-run the previous git svn command to continue

And it quits with svn-remote.svn.fetch already set to track :refs/remotes/git-svn

Would like for it to continue without having to edit the trunk/.get/config file. Did I miss a flag or option?

Thank You,
>From git-svn(1)
--authors-file=<filename>
Syntx is compatible with the file used by git cvsimport:
loginname

If this option is specified and git svn encounters an SVN committer name that does not exist in the authors-file, git svn will abort operation. The user will then have to add the appropriate entry. Re-running the previous git svn command after the authors-file is modified should continue operation.

Next: Michael Haggerty
Message 1 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.