How can I make names in a mercurial revision history consistent? [duplicate]

心已入冬 提交于 2019-12-11 04:33:09

问题


Possible Duplicate:
How to deal with committer name change in Mercurial

On a new install, I forgot to set my username reasonably in my hg client. As a result, the last few commits have me listed as "Billy", rather than the "Billy O'Neal <billy.oneal@example.com>" like I have been using.

Is there a way I can change these to make them consistent?


回答1:


It is possible to edit history with extensions like mq and convert, but if you have pushed the commits, you'd have to edit every clone of your repository as well. If you are a small group of users that may be possible, but otherwise it is too late.



来源:https://stackoverflow.com/questions/9560286/how-can-i-make-names-in-a-mercurial-revision-history-consistent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!