Mercurial > hg
changeset 17652:2c6f7231becc
store: rename "op" variables to "vfs"
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 31 Aug 2012 02:06:29 +0900 |
parents | 3b49c28658f6 |
children | dacb50696b75 |
files | mercurial/store.py |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/store.py Fri Aug 31 02:06:29 2012 +0900 +++ b/mercurial/store.py Fri Aug 31 02:06:29 2012 +0900 @@ -291,9 +291,9 @@ def __init__(self, path, vfstype): self.path = path self.createmode = _calcmode(path) - op = vfstype(self.path) - op.createmode = self.createmode - self.opener = scmutil.filteropener(op, encodedir) + vfs = vfstype(self.path) + vfs.createmode = self.createmode + self.opener = scmutil.filteropener(vfs, encodedir) def join(self, f): return self.path + '/' + encodedir(f) @@ -341,9 +341,9 @@ def __init__(self, path, vfstype): self.path = path + '/store' self.createmode = _calcmode(self.path) - op = vfstype(self.path) - op.createmode = self.createmode - self.opener = scmutil.filteropener(op, encodefilename) + vfs = vfstype(self.path) + vfs.createmode = self.createmode + self.opener = scmutil.filteropener(vfs, encodefilename) def datafiles(self): for a, b, size in self._walk('data', True): @@ -447,11 +447,11 @@ self.path = path + '/store' self.pathsep = self.path + '/' self.createmode = _calcmode(self.path) - op = vfstype(self.path) - op.createmode = self.createmode - fnc = fncache(op) + vfs = vfstype(self.path) + vfs.createmode = self.createmode + fnc = fncache(vfs) self.fncache = fnc - self.opener = _fncachevfs(op, fnc, encode) + self.opener = _fncachevfs(vfs, fnc, encode) def join(self, f): return self.pathsep + self.encode(f)