Show More
@@ -497,20 +497,20 def onetimeclientsetup(ui): | |||
|
497 | 497 | |
|
498 | 498 | sparsematch1 = repo.maybesparsematch(c1.rev()) |
|
499 | 499 | if sparsematch1: |
|
500 |
sparseu1 = |
|
|
500 | sparseu1 = set() | |
|
501 | 501 | for f in u1: |
|
502 | 502 | if sparsematch1(f): |
|
503 | 503 | files.append((f, hex(m1[f]))) |
|
504 |
sparseu1.a |
|
|
504 | sparseu1.add(f) | |
|
505 | 505 | u1 = sparseu1 |
|
506 | 506 | |
|
507 | 507 | sparsematch2 = repo.maybesparsematch(c2.rev()) |
|
508 | 508 | if sparsematch2: |
|
509 |
sparseu2 = |
|
|
509 | sparseu2 = set() | |
|
510 | 510 | for f in u2: |
|
511 | 511 | if sparsematch2(f): |
|
512 | 512 | files.append((f, hex(m2[f]))) |
|
513 |
sparseu2.a |
|
|
513 | sparseu2.add(f) | |
|
514 | 514 | u2 = sparseu2 |
|
515 | 515 | |
|
516 | 516 | # batch fetch the needed files from the server |
@@ -520,7 +520,7 def onetimeclientsetup(ui): | |||
|
520 | 520 | |
|
521 | 521 | # prefetch files before pathcopies check |
|
522 | 522 | def computeforwardmissing(orig, a, b, match=None): |
|
523 |
missing = |
|
|
523 | missing = orig(a, b, match=match) | |
|
524 | 524 | repo = a._repo |
|
525 | 525 | if isenabled(repo): |
|
526 | 526 | mb = b.manifest() |
@@ -528,11 +528,11 def onetimeclientsetup(ui): | |||
|
528 | 528 | files = [] |
|
529 | 529 | sparsematch = repo.maybesparsematch(b.rev()) |
|
530 | 530 | if sparsematch: |
|
531 |
sparsemissing = |
|
|
531 | sparsemissing = set() | |
|
532 | 532 | for f in missing: |
|
533 | 533 | if sparsematch(f): |
|
534 | 534 | files.append((f, hex(mb[f]))) |
|
535 |
sparsemissing.a |
|
|
535 | sparsemissing.add(f) | |
|
536 | 536 | missing = sparsemissing |
|
537 | 537 | |
|
538 | 538 | # batch fetch the needed files from the server |
General Comments 0
You need to be logged in to leave comments.
Login now