Mercurial > hg
diff mercurial/localrepo.py @ 14195:0013d3eeb826
revlog: remove support for parentdelta
We will introduce a more powerful and general delta concept instead,
called generaldelta.
author | Sune Foldager <cryo@cyanite.org> |
---|---|
date | Thu, 05 May 2011 12:55:12 +0200 |
parents | 4ab6e2d597cc |
children | 21b8ce4d3331 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed May 04 12:58:59 2011 +0200 +++ b/mercurial/localrepo.py Thu May 05 12:55:12 2011 +0200 @@ -21,7 +21,7 @@ class localrepository(repo.repository): capabilities = set(('lookup', 'changegroupsubset', 'branchmap', 'pushkey', 'known', 'getbundle')) - supportedformats = set(('revlogv1', 'parentdelta')) + supportedformats = set(('revlogv1',)) supported = supportedformats | set(('store', 'fncache', 'shared', 'dotencode')) @@ -61,8 +61,6 @@ '\0\0\0\2' # represents revlogv2 ' dummy changelog to prevent using the old repo layout' ) - if self.ui.configbool('format', 'parentdelta', False): - requirements.append("parentdelta") else: raise error.RepoError(_("repository %s not found") % path) elif create: @@ -117,8 +115,6 @@ def _applyrequirements(self, requirements): self.requirements = requirements self.sopener.options = {} - if 'parentdelta' in requirements: - self.sopener.options['parentdelta'] = 1 def _writerequirements(self): reqfile = self.opener("requires", "w")