Git: Svn clone: Author: not defined in file

From FVue
Jump to: navigation, search

Problem

When running this command:

git svn clone --authors-file=users.txt REPOS FILE

this error is given:

Author: foo not defined in users.txt file

The file users.txt contains this:

foo = foo@mydomain.com
bar = bar@mydomain.com

Environment

  • git-2.11.0

Solution

The e-mail addresses in users.txt must countain the less-than (<) and greater-than symbol (>), like:

foo = <foo@mydomain.com>
bar = <bar@mydomain.com>

See also: https://stackoverflow.com/questions/11037166/author-not-defined-when-importing-svn-repository-into-git