Mercurial > hg
changeset 24527:8aead3bc5ff8
manifestv2: disable fastdelta optimization
We may add support for the fastdelta optimization for manifest v2 at a
later point, but let's disable it for now, so we don't have to
implement it right away.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 27 Mar 2015 17:07:24 -0700 |
parents | cd50f3717639 |
children | b538ae24aa97 |
files | mercurial/manifest.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/manifest.py Fri Mar 27 16:19:44 2015 -0700 +++ b/mercurial/manifest.py Fri Mar 27 17:07:24 2015 -0700 @@ -647,7 +647,8 @@ return None, None def add(self, m, transaction, link, p1, p2, added, removed): - if p1 in self._mancache and not self._usetreemanifest: + if (p1 in self._mancache and not self._usetreemanifest + and not self._usemanifestv2): # If our first parent is in the manifest cache, we can # compute a delta here using properties we know about the # manifest up-front, which may save time later for the