Show More
@@ -1090,13 +1090,15 b' def filelog(web):' | |||
|
1090 | 1090 | diffs = diff(c, linerange=lr) |
|
1091 | 1091 | # follow renames accross filtered (not in range) revisions |
|
1092 | 1092 | path = c.path() |
|
1093 | entries.append(dict( | |
|
1094 | parity=next(parity), | |
|
1095 | filerev=c.rev(), | |
|
1096 |
|
|
|
1097 |
|
|
|
1098 | linerange=webutil.formatlinerange(*lr), | |
|
1099 | **pycompat.strkwargs(webutil.commonentry(repo, c)))) | |
|
1093 | lm = webutil.commonentry(repo, c) | |
|
1094 | lm.update({ | |
|
1095 | 'parity': next(parity), | |
|
1096 | 'filerev': c.rev(), | |
|
1097 | 'file': path, | |
|
1098 | 'diff': diffs, | |
|
1099 | 'linerange': webutil.formatlinerange(*lr), | |
|
1100 | }) | |
|
1101 | entries.append(lm) | |
|
1100 | 1102 | if i == revcount: |
|
1101 | 1103 | break |
|
1102 | 1104 | lessvars['linerange'] = webutil.formatlinerange(*lrange) |
@@ -1107,13 +1109,15 b' def filelog(web):' | |||
|
1107 | 1109 | diffs = None |
|
1108 | 1110 | if patch: |
|
1109 | 1111 | diffs = diff(iterfctx) |
|
1110 | entries.append(dict( | |
|
1111 | parity=next(parity), | |
|
1112 |
|
|
|
1113 |
|
|
|
1114 |
|
|
|
1115 | rename=webutil.renamelink(iterfctx), | |
|
1116 | **pycompat.strkwargs(webutil.commonentry(repo, iterfctx)))) | |
|
1112 | lm = webutil.commonentry(repo, iterfctx) | |
|
1113 | lm.update({ | |
|
1114 | 'parity': next(parity), | |
|
1115 | 'filerev': i, | |
|
1116 | 'file': f, | |
|
1117 | 'diff': diffs, | |
|
1118 | 'rename': webutil.renamelink(iterfctx), | |
|
1119 | }) | |
|
1120 | entries.append(lm) | |
|
1117 | 1121 | entries.reverse() |
|
1118 | 1122 | revnav = webutil.filerevnav(web.repo, fctx.path()) |
|
1119 | 1123 | nav = revnav.gen(end - 1, revcount, count) |
General Comments 0
You need to be logged in to leave comments.
Login now