equal
deleted
inserted
replaced
94 raise KeyError(_('no such name: %s') % name) |
94 raise KeyError(_('no such name: %s') % name) |
95 |
95 |
96 def templatename(self, namespace): |
96 def templatename(self, namespace): |
97 """method that returns the template name of a namespace""" |
97 """method that returns the template name of a namespace""" |
98 return self._names[namespace]['templatename'] |
98 return self._names[namespace]['templatename'] |
|
99 |
|
100 def names(self, repo, namespace, node): |
|
101 """method that returns a (sorted) list of names in a namespace that |
|
102 match a given node""" |
|
103 return sorted(self._names[namespace]['nodemap'](repo, node)) |