comparison hgweb.cgi @ 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 85cba926cb59
children 4b0fc75f9403
comparison
equal deleted inserted replaced
24527:8aead3bc5ff8 24528:b538ae24aa97