changeset 6894:29772acb5d2a

localrepo: kill _createmode
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Aug 2008 20:18:42 -0500
parents c3368278f86c
children a6bb94930105
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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