# HG changeset patch # User mpm@selenic.com # Date 1117667707 28800 # Node ID 201115f2859b91ec7019c1e468b14367feebe9cc # Parent 9ff5a78d0c45565dc329649ee7ffb0eba142804a hg annotate: actually annotate the given version -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hg annotate: actually annotate the given version Bug spotted by Edouard Gomez manifest hash: 3e29a7a8eb70b92483958ceffe94045a82899c61 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCnkF7ywK+sNU5EO8RAvvnAJsFjkpFdzQ+cPyrvQE25V16/z3dBQCeIyzf S/N2S/RcfFd9Ca56Xvf/jAM= =0qMq -----END PGP SIGNATURE----- diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -42,7 +42,7 @@ class filelog(revlog): return new # find all ancestors - needed = {} + needed = {node:1} visit = [node] while visit: n = visit.pop(0)