开发者

Mercurial patch queue collapse

开发者 https://www.devze.com 2023-02-28 01:31 出处:网络
I am using the patch queue to achieve something like what this person asked here: Why can't I reba开发者_如何学Cse on to an ancestor of source changesets if on a different branch?

I am using the patch queue to achieve something like what this person asked here:

Why can't I reba开发者_如何学Cse 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


It sounds like you want to try hg qfold <PATCH>.... See the EditingHistory wiki or hg help qfold for further info.

There is no --all option for the qfold 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消