##// END OF EJS Templates
dirstate: explicitly write the dirstate after `eol` dirstate manipulation...
marmoute -
r50892:981d2f13 default
parent child Browse files
Show More
@@ -445,6 +445,7 b' def reposetup(ui, repo):'
445 # Write the cache to update mtime and cache .hgeol
445 # Write the cache to update mtime and cache .hgeol
446 with self.vfs(b"eol.cache", b"w") as f:
446 with self.vfs(b"eol.cache", b"w") as f:
447 f.write(hgeoldata)
447 f.write(hgeoldata)
448 self.dirstate.write(self.currenttransaction())
448 except errormod.LockUnavailable:
449 except errormod.LockUnavailable:
449 # If we cannot lock the repository and clear the
450 # If we cannot lock the repository and clear the
450 # dirstate, then a commit might not see all files
451 # dirstate, then a commit might not see all files
General Comments 0
You need to be logged in to leave comments. Login now