dirstate.status: return explicit unknown files even when not asked
dirstate.walk will return unknown files that were explicitly requested, even
if listunknown is false. There's no point in dropping these files on the
floor in dirstate.status.
This has no effect on any current callers, because all of them assume the
unknown list is empty and ignore it. Future callers may find it useful,
though.
--- a/mercurial/dirstate.py Mon Oct 14 18:29:56 2013 +0200
+++ b/mercurial/dirstate.py Mon Oct 14 00:25:29 2013 -0400
@@ -815,7 +815,7 @@
if (listignored or mexact(fn)) and dirignore(fn):
if listignored:
iadd(fn)
- elif listunknown:
+ else:
uadd(fn)
continue