Submitter | Durham Goode |
---|---|
Date | Sept. 20, 2016, 11:47 p.m. |
Message ID | <4226fad2f4df52579581.1474415269@dev111.prn1.facebook.com> |
Download | mbox | patch |
Permalink | /patch/16698/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/manifest.py b/mercurial/manifest.py --- a/mercurial/manifest.py +++ b/mercurial/manifest.py @@ -1234,7 +1234,7 @@ class manifest(manifestrevlog): return None, None def add(self, m, transaction, link, p1, p2, added, removed): - if (p1 in self.fulltextcache and not self._treeinmem + if (p1 in self.fulltextcache and util.safehasattr(m, 'fastdelta') 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