Problems with git-svn authors file

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nicolas Vilz
Date: Sunday, December 10, 2006 - 10:26 am

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
Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Problems with git-svn authors file, Nicolas Vilz, (Sun Dec 10, 10:26 am)
Re: Problems with git-svn authors file, Andy Parkins, (Mon Dec 11, 2:04 am)
Re: Problems with git-svn authors file, Nicolas Vilz, (Mon Dec 11, 4:44 am)
Re: Problems with git-svn authors file, Eric Wong, (Mon Dec 11, 9:25 pm)