diff mercurial/statichttprepo.py @ 3498:ff06fe0703ef

localrepo: add separate methods for manipulating repository data This change adds new methods sjoin and sopener for accessing the following elements: - changelog - manifest - data/ - journal and undo log - repo lock This will simplify sharing this data and escaping paths
author Matt Mackall <mpm@selenic.com>
date Mon, 23 Oct 2006 17:12:20 -0500
parents 345bac2bc4ec
children 8643b9f90b51
line wrap: on
line diff
--- a/mercurial/statichttprepo.py
+++ b/mercurial/statichttprepo.py
@@ -36,6 +36,7 @@ class statichttprepository(localrepo.loc
         self.ui = ui
         self.revlogversion = 0
         self.opener = opener(self.path)
+        self.sopener = opener(self.path)
         self.manifest = manifest.manifest(self.opener)
         self.changelog = changelog.changelog(self.opener)
         self.tagscache = None