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

Problems with git-svn authors file

From
Nicolas Vilz <niv@iaglans.de>
Date
Dec 10, 2006, 17:26 UTC
Message-ID
<20061210172604.GA18385@hermes.lan.home.vilz.de>
hello,

i tried to use git-svn with author-files and got stuck with following error message:

Use of uninitialized value in hash element at /usr/bin/git-svn line
2952.
Use of uninitialized value in concatenation (.) or string at
/usr/bin/git-svn line 2953.
Author:  not defined in .git/info/svn-authors file
512 at /usr/bin/git-svn line 457
        main::fetch_lib() called at /usr/bin/git-svn line 328
        main::fetch() called at /usr/bin/git-svn line 187

my svn-authors file looks like this: ---->8----------------- username = Real Name <email@address> ---->8----------------- It is placed in .git/info/svn-authors and is configured via svn.authorsfile. I tried to dig in the code and it says at line 2952 if there is an $_author variable defined and no $users{$author}, then die with that message...

above function load_authors i have found
# '<svn username> = real-name <email address>' mapping based on git-svnimport:

now i am a bit confused, because the manual says, the svn-authors file looks like my file above and here it sounds like

<svn username> = real-name <email address>
is the real syntax for that file...

If i ommit the -A or --authors-file= parameter (or unset the svn.authorsfile config-parameter) while git-svn fetch, afterwards in gitk --all, there is only the svn-username and the revision-uuid.

Am i doing something wrong?
Sincerly
Next: Andy Parkins
Message 1 of 4 in “Problems with git-svn authors file”
  1. Nicolas VilzDec 10, 2006
  2. Andy ParkinsDec 11, 2006
  3. Nicolas VilzDec 11, 2006
  4. Eric WongDec 12, 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.