mercurial/localrepo.py
changeset 7067 40d105a12cac
parent 7064 582dac23ebac
child 7072 4e0d54fbd34f
--- a/mercurial/localrepo.py	Wed Oct 08 16:22:08 2008 -0500
+++ b/mercurial/localrepo.py	Wed Oct 08 16:22:10 2008 -0500
@@ -959,6 +959,13 @@
         match = match or match_.always(self.root, self.getcwd())
         listignored, listclean, listunknown = ignored, clean, unknown
 
+        if not parentworking:
+            def bad(f, msg):
+                if f not in ctx1:
+                    self.ui.warn('%s: %s\n' % (self.dirstate.pathto(f), msg))
+                return False
+            match.bad = bad
+
         if working: # we need to scan the working dir
             s = self.dirstate.status(match, listignored, listclean, listunknown)
             cmp, modified, added, removed, deleted, unknown, ignored, clean = s