I had to change the name of the user who made commits in the SVN repository after migrating from one machine to another. In this case, the repository was created for local use with local users and then integrated for departmental use.
To swap user names:
-
Make a dump of the repository (for backup purposes) using svnadmin
svnadmin dump REPO_PATH > dump1
-
Using svndumptool.py:
svndumptool.py transform-revprop svn:author
OLD_NAME NEW_NAME dump1 dump2