hgext/record.py
changeset 8208 32a2a1e244f1
parent 8152 08e1baf924ca
child 8225 46293a0c7e9f
--- a/hgext/record.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/hgext/record.py	Sun Apr 26 16:50:44 2009 -0500
@@ -394,7 +394,7 @@
 
 
 def dorecord(ui, repo, committer, *pats, **opts):
-    if not ui.interactive:
+    if not ui.interactive():
         raise util.Abort(_('running non-interactively, use commit instead'))
 
     def recordfunc(ui, repo, message, match, opts):