commit: drop the now-unused files parameter stable
authorMatt Mackall <mpm@selenic.com>
Mon, 01 Jun 2009 14:11:32 -0500
branchstable
changeset 556 a2bf4f77dbec
parent 554 2fc480f3e148
child 557 05cf88057fc5
child 558 e86eaa71219d
commit: drop the now-unused files parameter [ original upstream message ]
hgkw/keyword.py
--- 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():