Show More
@@ -1166,13 +1166,13 b' def _matchfiles(repo, subset, x):' | |||||
1166 |
|
1166 | |||
1167 | # This directly read the changelog data as creating changectx for all |
|
1167 | # This directly read the changelog data as creating changectx for all | |
1168 | # revisions is quite expensive. |
|
1168 | # revisions is quite expensive. | |
1169 |
get |
|
1169 | getfiles = repo.changelog.readfiles | |
1170 | wdirrev = node.wdirrev |
|
1170 | wdirrev = node.wdirrev | |
1171 | def matches(x): |
|
1171 | def matches(x): | |
1172 | if x == wdirrev: |
|
1172 | if x == wdirrev: | |
1173 | files = repo[x].files() |
|
1173 | files = repo[x].files() | |
1174 | else: |
|
1174 | else: | |
1175 |
files = get |
|
1175 | files = getfiles(x) | |
1176 | for f in files: |
|
1176 | for f in files: | |
1177 | if m(f): |
|
1177 | if m(f): | |
1178 | return True |
|
1178 | return True |
General Comments 0
You need to be logged in to leave comments.
Login now