mercurial/localrepo.py
changeset 8851 52cf210d0046
parent 8850 9db1c8e1cf17
child 8852 a81652fcaf6b
--- a/mercurial/localrepo.py	Thu Jun 18 20:49:50 2009 -0500
+++ b/mercurial/localrepo.py	Thu Jun 18 20:50:33 2009 -0500
@@ -295,12 +295,11 @@
             ret = []
             for node in reversed(self.heads()):
                 c = self[node]
-                rev = c.rev()
                 try:
                     fnode = c.filenode('.hgtags')
                 except error.LookupError:
                     continue
-                ret.append((rev, node, fnode))
+                ret.append((node, fnode))
                 if fnode in last:
                     ret[last[fnode]] = None
                 last[fnode] = len(ret) - 1
@@ -308,7 +307,7 @@
 
         # read the tags file from each head, ending with the tip
         f = None
-        for rev, node, fnode in tagnodes():
+        for node, fnode in tagnodes():
             f = (f and f.filectx(fnode) or
                  self.filectx('.hgtags', fileid=fnode))
             readtags(f.data().splitlines(), f, "global")