hgkw/keyword.py
branchstable
changeset 556 a2bf4f77dbec
parent 554 2fc480f3e148
child 563 353fad43ad99
--- a/hgkw/keyword.py	Sun May 31 14:55:51 2009 +0200
+++ b/hgkw/keyword.py	Mon Jun 01 14:11:32 2009 -0500
@@ -451,8 +451,8 @@
             data = super(kwrepo, self).wread(filename)
             return kwt.wread(filename, data)
 
-        def commit(self, files=None, text='', user=None, date=None,
-                   match=None, force=False, editor=None, extra={}):
+        def commit(self, text='', user=None, date=None, match=None,
+                   force=False, editor=None, extra={}):
             wlock = lock = None
             _p1 = _p2 = None
             try:
@@ -473,8 +473,8 @@
                     else:
                         _p2 = hex(_p2)
 
-                n = super(kwrepo, self).commit(files, text, user, date, match,
-                                               force, editor, extra)
+                n = super(kwrepo, self).commit(text, user, date, match, force,
+                                               editor, extra)
 
                 # restore commit hooks
                 for name, cmd in commithooks.iteritems():