diff mercurial/localrepo.py @ 13909:184cf2fa1046

tags: remove another check for valid nodes see 1aea86673dee
author Idan Kamara <idankk86@gmail.com>
date Thu, 07 Apr 2011 17:16:17 +0300
parents 31d15f761631
children cff56a0ed18e
line wrap: on
line diff
--- a/mercurial/localrepo.py	Thu Apr 07 16:20:40 2011 +0300
+++ b/mercurial/localrepo.py	Thu Apr 07 17:16:17 2011 +0300
@@ -390,10 +390,7 @@
         '''return a list of tags ordered by revision'''
         l = []
         for t, n in self.tags().iteritems():
-            try:
-                r = self.changelog.rev(n)
-            except error.LookupError:
-                r = -2 # sort to the beginning of the list if unknown
+            r = self.changelog.rev(n)
             l.append((r, t, n))
         return [(t, n) for r, t, n in sorted(l)]