开发者

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

开发者 https://www.devze.com 2023-02-01 09:07 出处:网络
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 开发者_JAVA技巧as \'anonymous\' for a day or

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 开发者_JAVA技巧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?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消