store: rename "op" variables to "vfs"
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 31 Aug 2012 02:06:29 +0900
changeset 17652 2c6f7231becc
parent 17651 3b49c28658f6
child 17653 dacb50696b75
store: rename "op" variables to "vfs"
mercurial/store.py
--- 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)