Show More
@@ -274,18 +274,14 b' def nodebranchnodefault(ctx):' | |||||
274 | branches.append(branch) |
|
274 | branches.append(branch) | |
275 | return templateutil.hybridlist(branches, name='name') |
|
275 | return templateutil.hybridlist(branches, name='name') | |
276 |
|
276 | |||
277 |
def showtag(repo, tmpl, t1, node=nullid |
|
277 | def showtag(repo, tmpl, t1, node=nullid): | |
278 | args = pycompat.byteskwargs(args) |
|
|||
279 | for t in repo.nodetags(node): |
|
278 | for t in repo.nodetags(node): | |
280 |
lm = |
|
279 | lm = {'tag': t} | |
281 | lm['tag'] = t |
|
|||
282 | yield tmpl.generate(t1, lm) |
|
280 | yield tmpl.generate(t1, lm) | |
283 |
|
281 | |||
284 |
def showbookmark(repo, tmpl, t1, node=nullid |
|
282 | def showbookmark(repo, tmpl, t1, node=nullid): | |
285 | args = pycompat.byteskwargs(args) |
|
|||
286 | for t in repo.nodebookmarks(node): |
|
283 | for t in repo.nodebookmarks(node): | |
287 | lm = args.copy() |
|
284 | lm = {'bookmark': t} | |
288 | lm['bookmark'] = t |
|
|||
289 | yield tmpl.generate(t1, lm) |
|
285 | yield tmpl.generate(t1, lm) | |
290 |
|
286 | |||
291 | def branchentries(repo, stripecount, limit=0): |
|
287 | def branchentries(repo, stripecount, limit=0): |
General Comments 0
You need to be logged in to leave comments.
Login now