I’ve been looking over a few SVN -> Git migrations and they all mention getting a proper users list before migrating, specifically by using the command:
svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq
I have access to the Ubuntu server hosting the single repository (with 9 projects), but no SVN installation locally. Is it possible to run that command on the server to get the list of usernames? At the moment it just gives back the error:
svn: E155007: '/var/subversion/' is not a working copy
Pass the path to the repository as a URL:
By the way, if you need the list of authors in chronological order of first commit (I found it helpful once when converting from svn to git), you can do the following: