diff mercurial/hg.py @ 216:201115f2859b

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-----
author mpm@selenic.com
date Wed, 01 Jun 2005 15:15:07 -0800
parents d2badbd7d1ad
children e6d6497a6331
line wrap: on
line diff
--- a/mercurial/hg.py	Wed Jun 01 14:59:36 2005 -0800
+++ b/mercurial/hg.py	Wed Jun 01 15:15:07 2005 -0800
@@ -42,7 +42,7 @@
             return new
 
         # find all ancestors
-        needed = {}
+        needed = {node:1}
         visit = [node]
         while visit:
             n = visit.pop(0)