# HG changeset patch # User Matt Mackall # Date 1223500930 18000 # Node ID 40d105a12cac00bf18f23c8be603e9b3d477b2b8 # Parent 865c5be0f8dfa9ad1f6567c5ab0327def19efcf7 status: don't warn about missing files present in base revision (issue1323) diff -r 865c5be0f8df -r 40d105a12cac mercurial/localrepo.py --- 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