[PATCH] histedit: refactored out diff/patch logic (issue 3527)

Bryan O'Sullivan bos at serpentine.com
Wed Aug 29 12:03:58 CDT 2012

On Tue, Aug 28, 2012 at 12:20 PM, Leah Xue <leahxue at fb.com> wrote:

> +        files = foldchanges(ui, repo, oldctx.parents()[0].node(), ha,
> opts)

This patch mostly looks great, but here's something I just noticed: you can
replace oldctx.parents()[0].node() with oldctx.p1().node() for a slight
improvement in clarity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120829/e74c2462/attachment.html>

More information about the Mercurial-devel mailing list