add tip to repo.lookup

This commit is contained in:
mpm@selenic.com 2005-06-10 12:48:12 -08:00
parent c33dfaaab1
commit d1d2bb53b2

View File

@ -366,6 +366,7 @@ class localrepository:
self.tags[k] = bin(n)
except KeyError: pass
try:
if key == 'tip': return self.changelog.tip()
return self.tags[key]
except KeyError:
return self.changelog.lookup(key)