Mercurial > hg
changeset 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 | ba669bc7f851 |
children | 93452579df9e |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
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)]