diff mercurial/commands.py @ 24309:fefcafda10b8

record: change interface of dorecord to accept new filters This makes it easier to add different filtering logic (record /crecord ...)
author Laurent Charignon <lcharignon@fb.com>
date Wed, 11 Mar 2015 16:39:38 -0700
parents 6ddc86eedc3b
children 521fe8287dd5
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Mar 11 16:18:47 2015 -0700
+++ b/mercurial/commands.py	Wed Mar 11 16:39:38 2015 -0700
@@ -1431,7 +1431,8 @@
     """
     if opts.get('interactive'):
         opts.pop('interactive')
-        cmdutil.dorecord(ui, repo, commit, 'commit', False, *pats, **opts)
+        cmdutil.dorecord(ui, repo, commit, 'commit', False,
+                        cmdutil.recordfilter, *pats, **opts)
         return
 
     if opts.get('subrepos'):