equal
deleted
inserted
replaced
87 self._names[namespace.name] = namespace |
87 self._names[namespace.name] = namespace |
88 |
88 |
89 # we only generate a template keyword if one does not already exist |
89 # we only generate a template keyword if one does not already exist |
90 if namespace.name not in templatekw.keywords: |
90 if namespace.name not in templatekw.keywords: |
91 templatekeyword = registrar.templatekeyword(templatekw.keywords) |
91 templatekeyword = registrar.templatekeyword(templatekw.keywords) |
92 @templatekeyword(namespace.name, requires={'repo', 'ctx', 'templ'}) |
92 @templatekeyword(namespace.name, requires={'repo', 'ctx'}) |
93 def generatekw(context, mapping): |
93 def generatekw(context, mapping): |
94 return templatekw.shownames(context, mapping, namespace.name) |
94 return templatekw.shownames(context, mapping, namespace.name) |
95 |
95 |
96 def singlenode(self, repo, name): |
96 def singlenode(self, repo, name): |
97 """ |
97 """ |