Folding a pbranch patch

Peer Sommerlund peer.sommerlund at gmail.com
Mon May 30 23:15:44 CDT 2011


Hi

I'm working on a new command "pfold" for the pbranch extension (pbranch
issue #61).

Folding will have to update the .hg/pgraph file, to remove the folded patch,
and then do a pmerge on every child of the folded patch.

I'm uncertain about what to do if the patch is already removed from
.hg/pgraph.
a) use graphattips() to find the patch children to pmerge.
b) give up, since the user has been hacking .hg/pgraph and apparently is in
the middle of a pmerge operation

I assume that the patch do exist in the repo, and is not closed prior to
pfold being issued.

Regards,
Peer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110531/94788d2f/attachment.htm>


More information about the Mercurial-devel mailing list