changeset 1851:5c374776a8bc

merge with crew
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 07 Mar 2006 22:27:18 +0100
parents 05f6c0d1bad8 (current diff) 94498a262d15 (diff)
children fdf9cbf56ec7
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Mar 07 08:46:19 2006 +0100
+++ b/mercurial/commands.py	Tue Mar 07 22:27:18 2006 +0100
@@ -593,12 +593,7 @@
     change = repo.changelog.read(node)
     mmap = repo.manifest.read(change[0])
 
-    for src, abs, rel, exact in walk(repo, pats, opts):
-        if abs not in mmap:
-            ui.warn(_("warning: %s is not in the repository!\n") %
-                    ((pats and rel) or abs))
-            continue
-
+    for src, abs, rel, exact in walk(repo, pats, opts, node=node):
         f = repo.file(abs)
         if not opts['text'] and util.binary(f.read(mmap[abs])):
             ui.write(_("%s: binary file\n") % ((pats and rel) or abs))