What is the format of an authors file for git svn, specifically for special characters like backslash or underscore?

I hate to be "that guy", but I just gave it a try and it worked fine for me. Here's the copy of the authors file I used:

RNO\_MCLWEB = Ronald McDonald <[email protected]>
SND\krobertson_cp = Some Guy <[email protected]>

I did, however, use a slightly different method than you did to generate author names, following these directions. My specific incantation was:

$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /'

I'm also using Git 1.6.6.1 (doubt that makes a difference, but you never know).

I did notice that when I used your pipeline to get the SVN authors, there were spaces in front of their SVN usernames in the resulting file (i.e., there was a space in column 1 on each line). Don't know if that makes a difference or not.


I had same problem, but with user apache. In authors file a had line like this.

apache = Apache

or

apache = Apache <>

But when I set it to

apache = Apache <[email protected]>

My repo started cloned normaly. Please be sure that you set all you authors names and email correctly, with follow format

svn_user_name = JustNameInGit <[email protected]>

Every field is obligatory!!!


I used the following which helps skip messages with words like 'authorization' in them

svn log --xml | grep /author | sort -u | perl -pe 's/.>(.?)<./$1 = /' > users.txt