Mercurial > hg
comparison mercurial/mail.py @ 24528:b538ae24aa97
manifestv2: implement slow readdelta() without revdiff
For manifest v2, revlog.revdiff() usually does not provide enough
information to produce a manifest. As a simple workaround, implement
readdelta() by reading both the old and the new manifest and use
manifest.diff() to find the difference. This is several times slower
than the current readdelta() for v1 manifests, but there seems to be
no other simple option, and this is still much faster than returning
the full manifest (at least for verify).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 27 Mar 2015 20:41:30 -0700 |
parents | a4af6fd99fb0 |
children | ff2ec757aacb |
comparison
equal
deleted
inserted
replaced
24527:8aead3bc5ff8 | 24528:b538ae24aa97 |
---|