Mercurial > hg
diff hgext/eol.py @ 23877:7cc77030c557
localrepo: remove all external users of localrepo.opener
This change touches every module in which repository.opener was being used, and
changes it for the equivalent repository.vfs. This is meant to make it easier
to split the repository.vfs into several separate vfs.
It should now be possible to remove localrepo.opener.
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Thu, 15 Jan 2015 23:17:12 +0100 |
parents | fb3e63c603e8 |
children | aba1916c1b23 |
line wrap: on
line diff
--- a/hgext/eol.py Wed Jan 14 20:29:47 2015 -0800 +++ b/hgext/eol.py Thu Jan 15 23:17:12 2015 +0100 @@ -319,7 +319,7 @@ # longer match a file it matched before self.dirstate.normallookup(f) # Create or touch the cache to update mtime - self.opener("eol.cache", "w").close() + self.vfs("eol.cache", "w").close() wlock.release() except error.LockUnavailable: # If we cannot lock the repository and clear the