Show More
@@ -1169,8 +1169,9 b' def diff(repo, node1=None, node2=None, f' | |||
|
1169 | 1169 | if crev is None: |
|
1170 | 1170 | crev = repo.changelog.count() |
|
1171 | 1171 | orig = f |
|
1172 | files = (f,) | |
|
1172 | 1173 | while crev > startrev: |
|
1173 |
if f in |
|
|
1174 | if f in files: | |
|
1174 | 1175 | try: |
|
1175 | 1176 | src = getfilectx(f, c).renamed() |
|
1176 | 1177 | except revlog.LookupError: |
@@ -1180,6 +1181,7 b' def diff(repo, node1=None, node2=None, f' | |||
|
1180 | 1181 | crev = c.parents()[0].rev() |
|
1181 | 1182 | # try to reuse |
|
1182 | 1183 | c = getctx(crev) |
|
1184 | files = c.files() | |
|
1183 | 1185 | if f not in man: |
|
1184 | 1186 | return None |
|
1185 | 1187 | if f == orig: |
General Comments 0
You need to be logged in to leave comments.
Login now