hgkw/keyword.py
branchstable
changeset 543 72477fcc575b
parent 542 057f4a64df03
child 549 9084fb1593e6
--- a/hgkw/keyword.py	Thu May 14 13:20:40 2009 -0500
+++ b/hgkw/keyword.py	Thu May 14 13:20:40 2009 -0500
@@ -452,8 +452,7 @@
             return kwt.wread(filename, data)
 
         def commit(self, files=None, text='', user=None, date=None,
-                   match=None, force=False, force_editor=False,
-                   extra={}, empty_ok=False):
+                   match=None, force=False, editor=None, extra={}):
             wlock = lock = None
             _p1 = _p2 = None
             try:
@@ -475,8 +474,7 @@
                         _p2 = hex(_p2)
 
                 n = super(kwrepo, self).commit(files, text, user, date, match,
-                                               force, force_editor,
-                                               extra, empty_ok)
+                                               force, editor, extra)
 
                 # restore commit hooks
                 for name, cmd in commithooks.iteritems():