hgext/keyword.py
changeset 8706 25e9c71b89de
parent 8668 aea3a23151bd
child 8763 fccdf5ca5065
--- a/hgext/keyword.py	Mon Jun 01 14:11:19 2009 -0500
+++ b/hgext/keyword.py	Mon Jun 01 14:11:32 2009 -0500
@@ -449,8 +449,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:
@@ -471,8 +471,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():