Mercurial > hg
comparison hgweb.cgi @ 27189:7b6cb7c15109
addrevision: rework generaldelta computation
The old code have multiple explicit tests and code duplications. This makes it
hard to improve the code. We rewrite the logic in a more generic way, not
changing anything of the computed result.
The final goal here is to eventually be able to:
- factor out the default fallback case "try against 'prev'" in a single place
- allow 'lazydeltabase' case to use the smarter general delta code path when
the incoming base does not provide us with a good delta.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 01 Dec 2015 18:45:16 -0800 |
parents | 4b0fc75f9403 |
children | 47ef023d0165 |
comparison
equal
deleted
inserted
replaced
27188:6a1301e22bd7 | 27189:7b6cb7c15109 |
---|