Show More
@@ -378,9 +378,9 b' def shownames(namespace, **args):' | |||
|
378 | 378 | """helper method to generate a template keyword for a namespace""" |
|
379 | 379 | ctx = args['ctx'] |
|
380 | 380 | repo = ctx._repo |
|
381 |
n |
|
|
382 | return showlist(repo.names.templatename(namespace), names, | |
|
383 | plural=namespace, **args) | |
|
381 | ns = repo.names[namespace] | |
|
382 | names = ns.names(repo, ctx.node()) | |
|
383 | return showlist(ns.templatename, names, plural=namespace, **args) | |
|
384 | 384 | |
|
385 | 385 | # keywords are callables like: |
|
386 | 386 | # fn(repo, ctx, templ, cache, revcache, **args) |
General Comments 0
You need to be logged in to leave comments.
Login now