changeset 10605:3077ee5ca750

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.
author Greg Ward <greg-hg@gerg.ca>
date Sun, 07 Mar 2010 13:10:23 -0500
parents 9a36d159595f
children 5868dd69fb03
files hgext/inotify/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = []