##// END OF EJS Templates
largefile: use `update_file` for `synclfdirstate` "n" case...
marmoute -
r48524:b0a39b66 default
parent child Browse files
Show More
@@ -563,7 +563,9 b' def synclfdirstate(repo, lfdirstate, lfi'
563 if state == b'n':
563 if state == b'n':
564 if normallookup or mtime < 0 or not repo.wvfs.exists(lfile):
564 if normallookup or mtime < 0 or not repo.wvfs.exists(lfile):
565 # state 'n' doesn't ensure 'clean' in this case
565 # state 'n' doesn't ensure 'clean' in this case
566 lfdirstate.normallookup(lfile)
566 lfdirstate.update_file(
567 lfile, p1_tracked=True, wc_tracked=True, possibly_dirty=True
568 )
567 else:
569 else:
568 lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=True)
570 lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=True)
569 elif state == b'm':
571 elif state == b'm':
General Comments 0
You need to be logged in to leave comments. Login now