[PATCH 2 of 2 evolve-ext] uncommit: add support for interactive selection

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed May 27 17:53:44 CDT 2015



On 05/27/2015 01:09 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1432747476 25200
> #      Wed May 27 10:24:36 2015 -0700
> # Node ID 8773181ed847250087fedb2199f0aa1cc518990e
> # Parent  fbd84a68ded6254766745d32e5e74b44d6b488e6
> uncommit: add support for interactive selection
>
> This patch adds a --interactive flag to the uncommit command. This allows
> the user to interactively (record and crecord) select changes to be uncommited.

I almost took that one before having mercurial blow in flight because of 
missing extra on memctx.

Can you pull out some https://docs.python.org/2/library/inspect.html 
black magic to have a clean "fail early" version for "old" mercurial.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list