changeset 23563 | 114992041625 |
parent 23562 | 59e703aecaf6 |
child 23605 | 4c4c967814ef |
--- a/mercurial/namespaces.py Fri Oct 17 15:27:33 2014 -0700 +++ b/mercurial/namespaces.py Fri Oct 17 15:27:12 2014 -0700 @@ -44,6 +44,9 @@ addns("tags", lambda repo, name: tolist(repo._tagscache.tags.get(name))) + addns("branches", + lambda repo, name: tolist(repo.branchtip(name))) + def addnamespace(self, namespace, namemap, order=None): """ register a namespace