equal
deleted
inserted
replaced
575 '$$ &Local $$ &Other') % |
575 '$$ &Local $$ &Other') % |
576 (lfutil.splitstandin(orig), ahash, dhash, ohash), |
576 (lfutil.splitstandin(orig), ahash, dhash, ohash), |
577 0) == 1)): |
577 0) == 1)): |
578 repo.wwrite(fcd.path(), fco.data(), fco.flags()) |
578 repo.wwrite(fcd.path(), fco.data(), fco.flags()) |
579 return 0 |
579 return 0 |
|
580 |
|
581 def copiespathcopies(orig, ctx1, ctx2): |
|
582 copies = orig(ctx1, ctx2) |
|
583 updated = {} |
|
584 |
|
585 for k, v in copies.iteritems(): |
|
586 updated[lfutil.splitstandin(k) or k] = lfutil.splitstandin(v) or v |
|
587 |
|
588 return updated |
580 |
589 |
581 # Copy first changes the matchers to match standins instead of |
590 # Copy first changes the matchers to match standins instead of |
582 # largefiles. Then it overrides util.copyfile in that function it |
591 # largefiles. Then it overrides util.copyfile in that function it |
583 # checks if the destination largefile already exists. It also keeps a |
592 # checks if the destination largefile already exists. It also keeps a |
584 # list of copied files so that the largefiles can be copied and the |
593 # list of copied files so that the largefiles can be copied and the |