Hi<div><br></div><div>I&#39;m working on a new command &quot;pfold&quot; for the pbranch extension (pbranch issue #61). </div><div><br></div><div>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.</div>
<div><br></div><div>I&#39;m uncertain about what to do if the patch is already removed from .hg/pgraph.</div><div>a) use graphattips() to find the patch children to pmerge.</div><div>b) give up, since the user has been hacking .hg/pgraph and apparently is in the middle of a pmerge operation</div>
<div><br></div><div>I assume that the patch do exist in the repo, and is not closed prior to pfold being issued.</div><div><br></div><div>Regards,</div><div>Peer</div>