From: Nicolas Vilz <niv@iaglans.de>
To: git@vger.kernel.org
Subject: Problems with git-svn authors file
Date: Sun, 10 Dec 2006 18:26:05 +0100 [thread overview]
Message-ID: <20061210172604.GA18385@hermes.lan.home.vilz.de> (raw)
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 reply other threads:[~2006-12-10 17:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-10 17:26 Nicolas Vilz [this message]
2006-12-11 9:04 ` Problems with git-svn authors file Andy Parkins
2006-12-11 11:44 ` Nicolas Vilz
2006-12-12 4:25 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061210172604.GA18385@hermes.lan.home.vilz.de \
--to=niv@iaglans.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).