Mercurial > public > mercurial-scm > hg
diff mercurial/statichttprepo.py @ 3457: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 Wed Oct 18 22:38:23 2006 -0500 +++ b/mercurial/statichttprepo.py Mon Oct 23 17:12:20 2006 -0500 @@ -36,6 +36,7 @@ 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