git - Failure in passing an authors option to svn2git -


i'm in process of migrating svn git (on local repo) i'm trying convert our svn authors git format creating text file under ~/.svn2git/authors.txt, example:

jcoglan = james coglan <jcoglan@never-you-mind.com> stnick = santa claus <nicholas@lapland.com> 

then pass authors option svn2git pointing file:

$ svn2git http://svn.example.com/path/to/repo --trunk trunk --authors ~/.svn2git/authors.txt 

i'm getting below error:

initialized empty git repository in /home/developer/mygitrepo/.git/ author: system not defined in /home/developer/mygitrepo/.svn2git/authors.txt file command failed: git svn fetch 

what mean?

it means it's found svn commit uses id system , haven't provided mapping in authors file. result, doesn't know how translate svn's user system git name/e-mail address, , can't create commit you.

you can fix adding line in authors file:

system = system <system@system.com> 

(or whatever want use)


Comments