Mercurial > public > mercurial-scm > hg-stable
diff mercurial/manifest.py @ 4258:b11a2fb59cf5
revlog: simplify revlog version handling
- pass the default version as an attribute on the opener
- eliminate config option mess
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 22 Mar 2007 19:52:38 -0500 |
parents | 1b5c38e9d7aa |
children | ff7253a0d1da |
line wrap: on
line diff
--- a/mercurial/manifest.py Thu Mar 22 19:12:03 2007 -0500 +++ b/mercurial/manifest.py Thu Mar 22 19:52:38 2007 -0500 @@ -35,10 +35,10 @@ return manifestdict(dict.copy(self), dict.copy(self._flags)) class manifest(revlog): - def __init__(self, opener, defversion=REVLOGV0): + def __init__(self, opener): self.mapcache = None self.listcache = None - revlog.__init__(self, opener, "00manifest.i", defversion) + revlog.__init__(self, opener, "00manifest.i") def parselines(self, lines): for l in lines.splitlines(1):