Mercurial > public > mercurial-scm > hg
comparison mercurial/manifest.py @ 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 |
comparison
equal
deleted
inserted
replaced
24526:cd50f3717639 | 24527:8aead3bc5ff8 |
---|---|
645 return m.find(f) | 645 return m.find(f) |
646 except KeyError: | 646 except KeyError: |
647 return None, None | 647 return None, None |
648 | 648 |
649 def add(self, m, transaction, link, p1, p2, added, removed): | 649 def add(self, m, transaction, link, p1, p2, added, removed): |
650 if p1 in self._mancache and not self._usetreemanifest: | 650 if (p1 in self._mancache and not self._usetreemanifest |
651 and not self._usemanifestv2): | |
651 # If our first parent is in the manifest cache, we can | 652 # If our first parent is in the manifest cache, we can |
652 # compute a delta here using properties we know about the | 653 # compute a delta here using properties we know about the |
653 # manifest up-front, which may save time later for the | 654 # manifest up-front, which may save time later for the |
654 # revlog layer. | 655 # revlog layer. |
655 | 656 |