record: make record use commit -i
authorLaurent Charignon <lcharignon@fb.com>
Wed, 11 Mar 2015 15:54:11 -0700
changeset 24307 7fcd9f4af49b
parent 24306 6ddc86eedc3b
child 24308 1725843a7644
record: make record use commit -i
hgext/record.py
--- 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']: