[PATCH] inotify: expose the same dirstate.status() interface as dirstate
Greg Ward
greg-hg at gerg.ca
Sun Mar 7 12:10:44 CST 2010
# HG changeset patch
# User Greg Ward <greg-hg at gerg.ca>
# Date 1267985423 18000
# Node ID bc1f6b1eb6ed14d0437aeb5fac9fa67dcdb9c5e9
# Parent 94145b531cf97bb8002781a0aa02b0e4d2eefe73
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.
diff --git a/hgext/inotify/__init__.py b/hgext/inotify/__init__.py
--- a/hgext/inotify/__init__.py
+++ b/hgext/inotify/__init__.py
@@ -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 = []
More information about the Mercurial-devel
mailing list