##// END OF EJS Templates
namespaces: add branches...
Sean Farley -
r23563:11499204 default
parent child Browse files
Show More
@@ -414,11 +414,6 b' class changectx(basectx):'
414 414 return
415 415 except KeyError:
416 416 pass
417
418 try:
419 self._node = repo.branchtip(changeid)
420 self._rev = repo.changelog.rev(self._node)
421 return
422 417 except error.FilteredRepoLookupError:
423 418 raise
424 419 except error.RepoLookupError:
@@ -44,6 +44,9 b' class namespaces(object):'
44 44 addns("tags",
45 45 lambda repo, name: tolist(repo._tagscache.tags.get(name)))
46 46
47 addns("branches",
48 lambda repo, name: tolist(repo.branchtip(name)))
49
47 50 def addnamespace(self, namespace, namemap, order=None):
48 51 """
49 52 register a namespace
General Comments 0
You need to be logged in to leave comments. Login now