Mercurial qfold 所有补丁?
结果发现没有hg qfold -a
。
我尝试了 hg qfold $(hg qunapp)
和 hg qunapp | xargs hg qfold
但无法让它工作。有什么想法吗?
Turns out there is no hg qfold -a
.
I tried hg qfold $(hg qunapp)
and hg qunapp | xargs hg qfold
but couldn't get it to work. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
通过您的 xargs 方法,您是否还记得 qfold 只将未应用补丁折叠到已应用补丁中?这对我(Windows)有用,将所有补丁折叠到第一个补丁中:
With your xargs approach, did you remember that qfold only folds unapplied patches into an applied patch? This worked for me (Windows) to fold all patches into the first patch:
嗯...我们可以添加一个
-a
标志...但在我们这样做之前,我会使用 histedit 或 折叠 扩展,或者也许自己做:然后您需要删除补丁 - 也许您可以完全删除
.hg/patches
,或者您可以删除其中一些补丁并编辑.hg/patches/series
匹配。Hmm... we could add a
-a
flag... But until we do, I would use the histedit or collapse extensions or maybe just do it myself:You then need to remove the patches -- perhaps you can just remove
.hg/patches
entirely, or you can delete some of them and edit.hg/patches/series
to match.