Folding a pbranch patch

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


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
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Mercurial-devel mailing list