git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with git-svn authors file
@ 2006-12-10 17:26 Nicolas Vilz
  2006-12-11  9:04 ` Andy Parkins
  2006-12-12  4:25 ` Eric Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Vilz @ 2006-12-10 17:26 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-12  4:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 17:26 Problems with git-svn authors file Nicolas Vilz
2006-12-11  9:04 ` Andy Parkins
2006-12-11 11:44   ` Nicolas Vilz
2006-12-12  4:25 ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).