Author not defined when importing SVN repository into Git Author not defined when importing SVN repository into Git git git

Author not defined when importing SVN repository into Git


I've had the same issue when trying to execute this on Windows. It turned out that the encoding of the file that I stored the authors in was set to UTF-8 instead of UTF-8 without BOM. As the "with BOM" version adds some additional bytes to the beginning of the file, the first author in the list was never found.


I had the same problem but the cause was actually rather different: I used Powershell to dump the authors list from SVN and I didn't realized that it saved the result as a UTF-16 file.

It turned out git (at least, up to git for windows version 2.16.1) is unable to use UTF-16 files. Converting the file to UTF-8 did the trick for me.


I had the same issue. The format of the authors.txt is strict with the form

svn name = user name ‹email›

as in:

cruise-control = Cruise Control ‹cruise-control@abc.com›user1 = User1 Lastname1 ‹user1@abc.com›user2 = User2 Lastname2 ‹user2@abc.com›

For instance this format won't work:

user1 = user1@abc.com