Show More
@@ -397,7 +397,7 b' def showsubrepos(**args):' | |||||
397 | def shownames(namespace, **args): |
|
397 | def shownames(namespace, **args): | |
398 | """helper method to generate a template keyword for a namespace""" |
|
398 | """helper method to generate a template keyword for a namespace""" | |
399 | ctx = args['ctx'] |
|
399 | ctx = args['ctx'] | |
400 |
repo = ctx. |
|
400 | repo = ctx.repo() | |
401 | ns = repo.names[namespace] |
|
401 | ns = repo.names[namespace] | |
402 | names = ns.names(repo, ctx.node()) |
|
402 | names = ns.names(repo, ctx.node()) | |
403 | return showlist(ns.templatename, names, plural=namespace, **args) |
|
403 | return showlist(ns.templatename, names, plural=namespace, **args) |
@@ -391,7 +391,7 b' def revset(context, mapping, args):' | |||||
391 |
|
391 | |||
392 | raw = args[0][1] |
|
392 | raw = args[0][1] | |
393 | ctx = mapping['ctx'] |
|
393 | ctx = mapping['ctx'] | |
394 |
repo = ctx. |
|
394 | repo = ctx.repo() | |
395 |
|
395 | |||
396 | def query(expr): |
|
396 | def query(expr): | |
397 | m = revsetmod.match(repo.ui, expr) |
|
397 | m = revsetmod.match(repo.ui, expr) |
General Comments 0
You need to be logged in to leave comments.
Login now