hgext/eol.py
changeset 23877 7cc77030c557
parent 23068 fb3e63c603e8
child 24367 aba1916c1b23
equal deleted inserted replaced
23876:48fd1dfb99aa 23877:7cc77030c557
   317                             # all normal files need to be looked at
   317                             # all normal files need to be looked at
   318                             # again since the new .hgeol file might no
   318                             # again since the new .hgeol file might no
   319                             # longer match a file it matched before
   319                             # longer match a file it matched before
   320                             self.dirstate.normallookup(f)
   320                             self.dirstate.normallookup(f)
   321                     # Create or touch the cache to update mtime
   321                     # Create or touch the cache to update mtime
   322                     self.opener("eol.cache", "w").close()
   322                     self.vfs("eol.cache", "w").close()
   323                     wlock.release()
   323                     wlock.release()
   324                 except error.LockUnavailable:
   324                 except error.LockUnavailable:
   325                     # If we cannot lock the repository and clear the
   325                     # If we cannot lock the repository and clear the
   326                     # dirstate, then a commit might not see all files
   326                     # dirstate, then a commit might not see all files
   327                     # as modified. But if we cannot lock the
   327                     # as modified. But if we cannot lock the