# HG changeset patch # User Martin von Zweigbergk # Date 1427501244 25200 # Node ID 8aead3bc5ff83ac39856ccd98654c86f534244ab # Parent cd50f371763982aa01c17cdfbd4df43af435222b 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. diff -r cd50f3717639 -r 8aead3bc5ff8 mercurial/manifest.py --- 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