开发者

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 开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜