changeset 24307:7fcd9f4af49b

record: make record use commit -i
author Laurent Charignon <lcharignon@fb.com>
date Wed, 11 Mar 2015 15:54:11 -0700
parents 6ddc86eedc3b
children 1725843a7644
files hgext/record.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/record.py	Fri Mar 13 17:00:06 2015 -0400
+++ b/hgext/record.py	Wed Mar 11 15:54:11 2015 -0700
@@ -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']: