Mercurial > hg
diff hgext/keyword.py @ 23878:37a92908a382
localrepo: remove all external users of localrepo.sopener
This change touches every module in which repository.sopener was being used, and
changes it for the equivalent repository.svfs.
It should now be possible to remove localrepo.sopener.
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Sun, 11 Jan 2015 00:25:54 +0100 |
parents | 7cc77030c557 |
children | b88278a308c6 |
line wrap: on
line diff
--- a/hgext/keyword.py Thu Jan 15 23:17:12 2015 +0100 +++ b/hgext/keyword.py Sun Jan 11 00:25:54 2015 +0100 @@ -591,7 +591,7 @@ def file(self, f): if f[0] == '/': f = f[1:] - return kwfilelog(self.sopener, kwt, f) + return kwfilelog(self.svfs, kwt, f) def wread(self, filename): data = super(kwrepo, self).wread(filename)