From patchwork Thu Mar 12 22:00:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1,of,5] record: make record use commit -i From: Laurent Charignon X-Patchwork-Id: 8029 Message-Id: To: Date: Thu, 12 Mar 2015 15:00:41 -0700 # HG changeset patch # User Laurent Charignon # Date 1426114451 25200 # Wed Mar 11 15:54:11 2015 -0700 # Node ID ef97f47b7ce0a0394369a6424176cd9d3c0d4397 # Parent 7cf9a9e0cf893e7ae82dc576a03c843fd6640438 record: make record use commit -i diff --git a/hgext/record.py b/hgext/record.py --- a/hgext/record.py +++ b/hgext/record.py @@ -49,7 +49,8 @@ This command is not available when committing a merge.''' - cmdutil.dorecord(ui, repo, commands.commit, 'commit', False, *pats, **opts) + opts["interactive"] = True + commands.commit(ui, repo, *pats, **opts) def qrefresh(origfn, ui, repo, *pats, **opts): if not opts['interactive']: