[PATCH 1 of 5] record: make record use commit -i
Laurent Charignon
lcharignon at fb.com
Thu Mar 12 22:00:41 UTC 2015
# HG changeset patch
# User Laurent Charignon <lcharignon at fb.com>
# 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']:
More information about the Mercurial-devel
mailing list