Show More
@@ -565,20 +565,19 b' def updatelfiles(' | |||
|
565 | 565 | # largefile processing might be slow and be interrupted - be prepared |
|
566 | 566 | lfdirstate.write() |
|
567 | 567 | |
|
568 | with lfdirstate.parentchange(): | |
|
569 | if lfiles: | |
|
570 | lfiles = [f for f in lfiles if f not in dropped] | |
|
571 | ||
|
572 | for f in dropped: | |
|
573 | repo.wvfs.unlinkpath(lfutil.standin(f)) | |
|
568 | if lfiles: | |
|
569 | lfiles = [f for f in lfiles if f not in dropped] | |
|
574 | 570 | |
|
575 | # This needs to happen for dropped files, otherwise they stay in | |
|
576 | # the M state. | |
|
577 | lfutil.synclfdirstate(repo, lfdirstate, f, normallookup) | |
|
571 | for f in dropped: | |
|
572 | repo.wvfs.unlinkpath(lfutil.standin(f)) | |
|
573 | # This needs to happen for dropped files, otherwise they stay in | |
|
574 | # the M state. | |
|
575 | lfdirstate._drop(f) | |
|
578 | 576 | |
|
579 |
|
|
|
580 |
|
|
|
577 | statuswriter(_(b'getting changed largefiles\n')) | |
|
578 | cachelfiles(ui, repo, None, lfiles) | |
|
581 | 579 | |
|
580 | with lfdirstate.parentchange(): | |
|
582 | 581 | for lfile in lfiles: |
|
583 | 582 | update1 = 0 |
|
584 | 583 |
General Comments 0
You need to be logged in to leave comments.
Login now