Show More
@@ -42,6 +42,10 b' class namespaces(object):' | |||
|
42 | 42 | lambda repo, node: [repo[node].branch()]) |
|
43 | 43 | self.addnamespace(n) |
|
44 | 44 | |
|
45 | def __getitem__(self, namespace): | |
|
46 | """returns the namespace object""" | |
|
47 | return self._names[namespace] | |
|
48 | ||
|
45 | 49 | def addnamespace(self, namespace, order=None): |
|
46 | 50 | """register a namespace |
|
47 | 51 |
General Comments 0
You need to be logged in to leave comments.
Login now