# HG changeset patch # User Pierre-Yves David # Date 1505818342 -7200 # Node ID 9345b2eeeef3f1601be051141aedc08f964afeba # Parent 9e610e8828087aeb4c3a464ca2708f441654f346 amend: lift the --interactive constraint on `--extract` The uncommit logic now supports interactive selection. diff -r 9e610e882808 -r 9345b2eeeef3 hgext3rd/evolve/cmdrewrite.py --- a/hgext3rd/evolve/cmdrewrite.py Mon Sep 18 04:31:59 2017 +0200 +++ b/hgext3rd/evolve/cmdrewrite.py Tue Sep 19 12:52:22 2017 +0200 @@ -100,9 +100,6 @@ """ opts = opts.copy() if opts.get('extract'): - if opts.pop('interactive', False): - msg = _('not support for --interactive with --extract yet') - raise error.Abort(msg) return uncommit(ui, repo, *pats, **opts) else: if opts.pop('all', False): diff -r 9e610e882808 -r 9345b2eeeef3 tests/test-uncommit-interactive.t --- a/tests/test-uncommit-interactive.t Mon Sep 18 04:31:59 2017 +0200 +++ b/tests/test-uncommit-interactive.t Tue Sep 19 12:52:22 2017 +0200 @@ -128,7 +128,7 @@ Uncommit a chunk ================ - $ hg uncommit -i< y > y > n