Mercurial 补丁队列崩溃
我正在使用补丁队列来实现类似于此人在这里询问的内容:
但是,我想做的是,当我有队列中的所有补丁,而不是一一应用它们,我想将它们折叠成一个变更集。这是否可能,通过我没有找到的开关,或者通过从队列中推送补丁时,不提交,只是进行本地更改。
谢谢
I am using the patch queue to achieve something like what this person asked here:
Why can't I rebase on to an ancestor of source changesets if on a different branch?
However, what I would like to do, is that when I have all the patches in the queue, rather than apply them one by one, I would like to collapse them into one changeset. Is this possible, by either a switch I didn't find, or by when pushing the patch from the queue, not committing, just having a local change.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您想尝试
hg qfold...
。请参阅 EditingHistory wiki 或hg help qfold
了解更多信息。qfold
命令没有--all
选项,因此如果您想将其作为批处理,则必须手动指定每个补丁文件或编写脚本/单行代码过程。请参阅此相关问题:Mercurial qfold ALL 补丁?
It sounds like you want to try
hg qfold <PATCH>...
. See the EditingHistory wiki orhg help qfold
for further info.There is no
--all
option for theqfold
command, so you must specify each patch file manually or write a script / one-liner if you want to make this a batch process. See this related SO question:Mercurial qfold ALL patches?