##// END OF EJS Templates
largefiles: replace use of synclfdirstate with drop...
Pulkit Goyal -
r48458:f0cf5604 default
parent child Browse files
Show More
@@ -565,20 +565,19 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 568 if lfiles:
570 569 lfiles = [f for f in lfiles if f not in dropped]
571 570
572 571 for f in dropped:
573 572 repo.wvfs.unlinkpath(lfutil.standin(f))
574
575 573 # This needs to happen for dropped files, otherwise they stay in
576 574 # the M state.
577 lfutil.synclfdirstate(repo, lfdirstate, f, normallookup)
575 lfdirstate._drop(f)
578 576
579 577 statuswriter(_(b'getting changed largefiles\n'))
580 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