如何使商品修订历史中的名称保持一致? [英] How can I make names in a mercurial revision history consistent?

查看:82
本文介绍了如何使商品修订历史中的名称保持一致?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
如何处理Mercurial中提交者名称更改

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

在新安装中,我忘记在我的hg客户端中合理设置用户名.结果,最近的几次提交将我列为"Billy",而不是像我一直在使用的"Billy O'Neal <billy.oneal@example.com>"一样.

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?

推荐答案

可以使用扩展名(例如 mq 转换,但是如果您推送了提交,则可以同时编辑存储库的每个克隆.如果您是一小群用户,则可以,但是为时已晚.

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.

这篇关于如何使商品修订历史中的名称保持一致?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆