Mercurial 队列:组合补丁
我一直在使用 Mercurial 和 Mercurial 队列,现在有了一个相当合理的工作版本。然而,在我提交补丁之前,我想将意大利面条历史合并为离散的逻辑步骤,而不是像现在这样半重叠的重复做-撤消-重做-略有不同的混乱,如果只是这样的话以减少补丁数量。
我该怎么做?
I've been playing with Mercurial and mercurial queues, and now have a fairly reasonable working version. However, before I submit a patch, I'd like to take that spagetti-history and merge it into discrete, logical steps, rather than the semi-overlapping repeated do-undo-redo-slightly-differently mess it is now, if only to reduce the number of patches.
How do I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
hg qfold
是正确的选择。对此要非常小心。确保您事先已阅读所有说明。对 patchqueue 进行版本控制(作为嵌套存储库)也是合理的,因此您有备份:hg qfold
is the way to go. Be very careful with it. Make sure you have read all the instructions beforehands. It's reasonable to version your patchqueue too (as a nested repoository), so you have backups: