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