diff hgext/keyword.py @ 8706:25e9c71b89de

commit: drop the now-unused files parameter
author Matt Mackall <mpm@selenic.com>
date Mon, 01 Jun 2009 14:11:32 -0500
parents aea3a23151bd
children fccdf5ca5065
line wrap: on
line diff
--- 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():