Show More
@@ -478,9 +478,10 b' def onetimeclientsetup(ui):' | |||||
478 | def findrenames(orig, repo, matcher, added, removed, *args, **kwargs): |
|
478 | def findrenames(orig, repo, matcher, added, removed, *args, **kwargs): | |
479 | if isenabled(repo): |
|
479 | if isenabled(repo): | |
480 | files = [] |
|
480 | files = [] | |
481 |
p |
|
481 | pmf = repo['.'].manifest() | |
482 | for f in removed: |
|
482 | for f in removed: | |
483 | files.append((f, hex(parentctx.filenode(f)))) |
|
483 | if f in pmf: | |
|
484 | files.append((f, hex(pmf[f]))) | |||
484 | # batch fetch the needed files from the server |
|
485 | # batch fetch the needed files from the server | |
485 | repo.fileservice.prefetch(files) |
|
486 | repo.fileservice.prefetch(files) | |
486 | return orig(repo, matcher, added, removed, *args, **kwargs) |
|
487 | return orig(repo, matcher, added, removed, *args, **kwargs) |
@@ -197,6 +197,9 b'' | |||||
197 | $ mv x x2 |
|
197 | $ mv x x2 | |
198 | $ mv y y2 |
|
198 | $ mv y y2 | |
199 | $ mv z z2 |
|
199 | $ mv z z2 | |
|
200 | $ echo a > a | |||
|
201 | $ hg add a | |||
|
202 | $ rm a | |||
200 | $ clearcache |
|
203 | $ clearcache | |
201 | $ hg addremove -s 50 > /dev/null |
|
204 | $ hg addremove -s 50 > /dev/null | |
202 | 3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over * (glob) |
|
205 | 3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over * (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now