inotify: expose the same dirstate.status() interface as dirstate.
authorGreg Ward <greg-hg@gerg.ca>
Sun, 07 Mar 2010 13:10:23 -0500
changeset 10605 3077ee5ca750
parent 10604 9a36d159595f
child 10606 5868dd69fb03
inotify: expose the same dirstate.status() interface as dirstate. The real dirstate.status() does not have any keyword args. For consistency, wrappers or subclasses should not have them either.
hgext/inotify/__init__.py
--- a/hgext/inotify/__init__.py	Sun Mar 07 13:03:03 2010 +0100
+++ b/hgext/inotify/__init__.py	Sun Mar 07 13:10:23 2010 -0500
@@ -41,7 +41,7 @@
         # to start an inotify server if it won't start.
         _inotifyon = True
 
-        def status(self, match, subrepos, ignored, clean, unknown=True):
+        def status(self, match, subrepos, ignored, clean, unknown):
             files = match.files()
             if '.' in files:
                 files = []