Similar questions have been asked before (like this one), but the answers have not fixed it for me. My authors file looks like this:
cmannett85 = cmannett85 <cmannett85@###>
cbamber85 = cmannett85 <cmannett85@###>
www-data = cmannett85 <cmannett85@###>
And the error I get is;
Author: cmannett85 not defined in users.txt file
This error happens at about the 1500th commit, with the other author entries being fine so the basic structure of the entries must be correct. Most of the issues I've already seen on SO centre around SVN usernames having a space pre/appended to them, but as you can see from the pasted error - there is no extraneous white space.
I also thought it might have been that I'm mapping one username for an identical one, so I changed the Git username but it made no difference. I even tried switching line ending between Windows and Unix formats, but again no change.
I invoke the operation using this:
$ git svn clone https://subversion.assembla.com/svn/#### --authors-file=users.txt --no-metadata -s ####
I tried removing the --no-metadata
arg, but no difference. Can anyone see where I have gone wrong?
UPDATE
Following Lazy Badger's advice, I ran:
$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /'
And it returns this:
<author>cbamber85</author>
<author>cmannett85</author>
<author>www-data</author>