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