[PATCH 4 of 5] manifestv2: disable fastdelta optimization
Martin von Zweigbergk
martinvonz at google.com
Mon Mar 30 19:19:41 CDT 2015
# HG changeset patch
# User Martin von Zweigbergk <martinvonz at google.com>
# Date 1427501244 25200
# Fri Mar 27 17:07:24 2015 -0700
# Node ID 816d01895c212b8d313d748f9b8c530b7f92c249
# Parent f1f1ec0aac7598844b79a904b3d0ed4398de87f0
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 f1f1ec0aac75 -r 816d01895c21 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
More information about the Mercurial-devel
mailing list