##// END OF EJS Templates
largefile: consider `updatelfiles` as a `parentchange`...
marmoute -
r48451:40811cc7 default
parent child Browse files
Show More
@@ -519,6 +519,7 b' def updatelfiles('
519 filelist = set(filelist)
519 filelist = set(filelist)
520 lfiles = [f for f in lfiles if f in filelist]
520 lfiles = [f for f in lfiles if f in filelist]
521
521
522 with lfdirstate.parentchange():
522 update = {}
523 update = {}
523 dropped = set()
524 dropped = set()
524 updated, removed = 0, 0
525 updated, removed = 0, 0
@@ -564,6 +565,7 b' def updatelfiles('
564 # largefile processing might be slow and be interrupted - be prepared
565 # largefile processing might be slow and be interrupted - be prepared
565 lfdirstate.write()
566 lfdirstate.write()
566
567
568 with lfdirstate.parentchange():
567 if lfiles:
569 if lfiles:
568 lfiles = [f for f in lfiles if f not in dropped]
570 lfiles = [f for f in lfiles if f not in dropped]
569
571
General Comments 0
You need to be logged in to leave comments. Login now