Show More
@@ -819,7 +819,7 b' def filediff(web):' | |||||
819 | rename = webutil.renamelink(fctx) |
|
819 | rename = webutil.renamelink(fctx) | |
820 | ctx = fctx |
|
820 | ctx = fctx | |
821 | else: |
|
821 | else: | |
822 | rename = [] |
|
822 | rename = templateutil.mappinglist([]) | |
823 | ctx = ctx |
|
823 | ctx = ctx | |
824 |
|
824 | |||
825 | return web.sendtemplate( |
|
825 | return web.sendtemplate( | |
@@ -892,7 +892,7 b' def comparison(web):' | |||||
892 | rename = webutil.renamelink(fctx) |
|
892 | rename = webutil.renamelink(fctx) | |
893 | ctx = fctx |
|
893 | ctx = fctx | |
894 | else: |
|
894 | else: | |
895 | rename = [] |
|
895 | rename = templateutil.mappinglist([]) | |
896 | ctx = ctx |
|
896 | ctx = ctx | |
897 |
|
897 | |||
898 | return web.sendtemplate( |
|
898 | return web.sendtemplate( |
@@ -234,8 +234,8 b' def children(ctx, hide=None):' | |||||
234 | def renamelink(fctx): |
|
234 | def renamelink(fctx): | |
235 | r = fctx.renamed() |
|
235 | r = fctx.renamed() | |
236 | if r: |
|
236 | if r: | |
237 | return [{'file': r[0], 'node': hex(r[1])}] |
|
237 | return templateutil.mappinglist([{'file': r[0], 'node': hex(r[1])}]) | |
238 | return [] |
|
238 | return templateutil.mappinglist([]) | |
239 |
|
239 | |||
240 | def nodetagsdict(repo, node): |
|
240 | def nodetagsdict(repo, node): | |
241 | return [{"name": i} for i in repo.nodetags(node)] |
|
241 | return [{"name": i} for i in repo.nodetags(node)] |
General Comments 0
You need to be logged in to leave comments.
Login now