mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
add tip to repo.lookup
This commit is contained in:
parent
c33dfaaab1
commit
d1d2bb53b2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user