diff -r 3863e08d597c -r 075619d00dd7 mercurial/hg.py --- a/mercurial/hg.py Fri Jun 10 12:48:12 2005 -0800 +++ b/mercurial/hg.py Fri Jun 10 12:49:25 2005 -0800 @@ -365,8 +365,8 @@ n, k = l.split(" ") self.tags[k] = bin(n) except KeyError: pass + self.tags['tip'] = self.changelog.tip() try: - if key == 'tip': return self.changelog.tip() return self.tags[key] except KeyError: return self.changelog.lookup(key)