localrepo: kill _createmode
authorMatt Mackall <mpm@selenic.com>
Wed, 13 Aug 2008 20:18:42 -0500
changeset 6894 29772acb5d2a
parent 6893 c3368278f86c
child 6895 a6bb94930105
localrepo: kill _createmode
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Wed Aug 13 20:18:41 2008 -0500
+++ b/mercurial/localrepo.py	Wed Aug 13 20:18:42 2008 -0500
@@ -66,7 +66,6 @@
         self.spath = self.store.path
         self.sopener = self.store.opener
         self.sjoin = self.store.join
-        self._createmode = self.store.createmode
         self.opener.createmode = self.store.createmode
 
         self.ui = ui.ui(parentui=parentui)
@@ -577,7 +576,7 @@
         tr = transaction.transaction(self.ui.warn, self.sopener,
                                      self.sjoin("journal"),
                                      aftertrans(renames),
-                                     self._createmode)
+                                     self.store.createmode)
         self._transref = weakref.ref(tr)
         return tr