Show More
@@ -151,7 +151,7 b' def _filerevision(web, req, tmpl, fctx):' | |||
|
151 | 151 | rename=webutil.renamelink(fctx), |
|
152 | 152 | permissions=fctx.manifest().flags(f), |
|
153 | 153 | ishead=int(ishead), |
|
154 | **webutil.commonentry(web.repo, fctx)) | |
|
154 | **pycompat.strkwargs(webutil.commonentry(web.repo, fctx))) | |
|
155 | 155 | |
|
156 | 156 | @webcommand('file') |
|
157 | 157 | def file(web, req, tmpl): |
@@ -284,7 +284,7 b' def _search(web, req, tmpl):' | |||
|
284 | 284 | parity=next(parity), |
|
285 | 285 | changelogtag=showtags, |
|
286 | 286 | files=files, |
|
287 | **webutil.commonentry(web.repo, ctx)) | |
|
287 | **pycompat.strkwargs(webutil.commonentry(web.repo, ctx))) | |
|
288 | 288 | |
|
289 | 289 | if count >= revcount: |
|
290 | 290 | break |
@@ -708,7 +708,7 b' def summary(web, req, tmpl):' | |||
|
708 | 708 | l.append(tmpl( |
|
709 | 709 | 'shortlogentry', |
|
710 | 710 | parity=next(parity), |
|
711 | **webutil.commonentry(web.repo, ctx))) | |
|
711 | **pycompat.strkwargs(webutil.commonentry(web.repo, ctx)))) | |
|
712 | 712 | |
|
713 | 713 | for entry in reversed(l): |
|
714 | 714 | yield entry |
@@ -777,7 +777,7 b' def filediff(web, req, tmpl):' | |||
|
777 | 777 | symrev=webutil.symrevorshortnode(req, ctx), |
|
778 | 778 | rename=rename, |
|
779 | 779 | diff=diffs, |
|
780 | **webutil.commonentry(web.repo, ctx)) | |
|
780 | **pycompat.strkwargs(webutil.commonentry(web.repo, ctx))) | |
|
781 | 781 | |
|
782 | 782 | diff = webcommand('diff')(filediff) |
|
783 | 783 | |
@@ -852,7 +852,7 b' def comparison(web, req, tmpl):' | |||
|
852 | 852 | rightrev=rightrev, |
|
853 | 853 | rightnode=hex(rightnode), |
|
854 | 854 | comparison=comparison, |
|
855 | **webutil.commonentry(web.repo, ctx)) | |
|
855 | **pycompat.strkwargs(webutil.commonentry(web.repo, ctx))) | |
|
856 | 856 | |
|
857 | 857 | @webcommand('annotate') |
|
858 | 858 | def annotate(web, req, tmpl): |
@@ -943,7 +943,7 b' def annotate(web, req, tmpl):' | |||
|
943 | 943 | permissions=fctx.manifest().flags(f), |
|
944 | 944 | ishead=int(ishead), |
|
945 | 945 | diffopts=diffopts, |
|
946 | **webutil.commonentry(web.repo, fctx)) | |
|
946 | **pycompat.strkwargs(webutil.commonentry(web.repo, fctx))) | |
|
947 | 947 | |
|
948 | 948 | @webcommand('filelog') |
|
949 | 949 | def filelog(web, req, tmpl): |
@@ -1044,7 +1044,7 b' def filelog(web, req, tmpl):' | |||
|
1044 | 1044 | file=path, |
|
1045 | 1045 | diff=diffs, |
|
1046 | 1046 | linerange=webutil.formatlinerange(*lr), |
|
1047 | **webutil.commonentry(repo, c))) | |
|
1047 | **pycompat.strkwargs(webutil.commonentry(repo, c)))) | |
|
1048 | 1048 | if i == revcount: |
|
1049 | 1049 | break |
|
1050 | 1050 | lessvars['linerange'] = webutil.formatlinerange(*lrange) |
@@ -1061,7 +1061,7 b' def filelog(web, req, tmpl):' | |||
|
1061 | 1061 | file=f, |
|
1062 | 1062 | diff=diffs, |
|
1063 | 1063 | rename=webutil.renamelink(iterfctx), |
|
1064 | **webutil.commonentry(repo, iterfctx))) | |
|
1064 | **pycompat.strkwargs(webutil.commonentry(repo, iterfctx)))) | |
|
1065 | 1065 | entries.reverse() |
|
1066 | 1066 | revnav = webutil.filerevnav(web.repo, fctx.path()) |
|
1067 | 1067 | nav = revnav.gen(end - 1, revcount, count) |
@@ -1080,7 +1080,7 b' def filelog(web, req, tmpl):' | |||
|
1080 | 1080 | revcount=revcount, |
|
1081 | 1081 | morevars=morevars, |
|
1082 | 1082 | lessvars=lessvars, |
|
1083 | **webutil.commonentry(web.repo, fctx)) | |
|
1083 | **pycompat.strkwargs(webutil.commonentry(web.repo, fctx))) | |
|
1084 | 1084 | |
|
1085 | 1085 | @webcommand('archive') |
|
1086 | 1086 | def archive(web, req, tmpl): |
@@ -449,7 +449,7 b' def changesetentry(web, req, tmpl, ctx):' | |||
|
449 | 449 | diffsummary=lambda **x: diffsummary(diffstatsgen), |
|
450 | 450 | diffstat=diffstats, |
|
451 | 451 | archives=web.archivelist(ctx.hex()), |
|
452 | **commonentry(web.repo, ctx)) | |
|
452 | **pycompat.strkwargs(commonentry(web.repo, ctx))) | |
|
453 | 453 | |
|
454 | 454 | def listfilediffs(tmpl, files, node, max): |
|
455 | 455 | for f in files[:max]: |
General Comments 0
You need to be logged in to leave comments.
Login now