Stephen Fuhry
Stephen Fuhry

Reputation: 13009

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

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?

Upvotes: 6

Views: 450

Answers (2)

Ivan Zhakov
Ivan Zhakov

Reputation: 4041

svn propedit -r 123 --revprop svn:author /path/to/repos

Upvotes: 7

ysth
ysth

Reputation: 98398

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.

Upvotes: 7

Related Questions