merge with crew
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 07 Mar 2006 22:27:18 +0100
changeset 1851 5c374776a8bc
parent 1850 05f6c0d1bad8 (current diff)
parent 1847 94498a262d15 (diff)
child 1852 fdf9cbf56ec7
merge with crew
mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -593,12 +593,7 @@ def annotate(ui, repo, *pats, **opts):
     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))