Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/webcommands.py @ 37993:623dc2651d26
hgweb: drop unused argument 'tmpl' from webutil.compare()
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 04 Apr 2018 21:17:55 +0900 |
parents | 9482498b96b0 |
children | 5989261a8356 |
comparison
equal
deleted
inserted
replaced
37992:b3992c21b7f3 | 37993:623dc2651d26 |
---|---|
884 else: | 884 else: |
885 rightlines = () | 885 rightlines = () |
886 pfctx = ctx.parents()[0][path] | 886 pfctx = ctx.parents()[0][path] |
887 leftlines = filelines(pfctx) | 887 leftlines = filelines(pfctx) |
888 | 888 |
889 comparison = webutil.compare(web.tmpl, context, leftlines, rightlines) | 889 comparison = webutil.compare(context, leftlines, rightlines) |
890 if fctx is not None: | 890 if fctx is not None: |
891 rename = webutil.renamelink(fctx) | 891 rename = webutil.renamelink(fctx) |
892 ctx = fctx | 892 ctx = fctx |
893 else: | 893 else: |
894 rename = templateutil.mappinglist([]) | 894 rename = templateutil.mappinglist([]) |