Mercurial > hg
comparison contrib/memory.py @ 19764:e92650e39f1c stable
generaldelta: initialize basecache properly
Previously basecache was incorrectly initialized before adding the first
revision from a changegroup. Basecache value influences when full revisions are
stored in revlog (when using generaldelta). As a result it was possible to
generate a generaldelta-revlog that could be bigger by arbitrary factor than its
non-generaldelta equivalent.
author | Wojciech Lopata <lopek@fb.com> |
---|---|
date | Fri, 20 Sep 2013 10:45:51 -0700 |
parents | 08a0f04b56bd |
children | 3e0d27d298b7 |
comparison
equal
deleted
inserted
replaced
19751:478f3379768a | 19764:e92650e39f1c |
---|