Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the svn committer after I've already committed?

Tags:

svn

We moved our svn repository to a different server, and in the hectic mess we realised we somehow managed to kill all the users and everyone was committing as 'anonymous' for a day or two!

I know how to change the commit message(svn propedit -r 123 --revprop svn:log /path/to/repos), but is there any way to change the actual user that made the commit?

like image 831
Stephen Fuhry Avatar asked Dec 26 '10 02:12

Stephen Fuhry


2 Answers

svn propedit -r 123 --revprop svn:author /path/to/repos
like image 94
Ivan Zhakov Avatar answered Sep 25 '22 21:09

Ivan Zhakov


You change the user by changing the revision property svn:author instead of svn:log.

Note that you need to make sure your pre-revprop-change hook allows this.

like image 27
ysth Avatar answered Sep 21 '22 21:09

ysth