2 ms·
It's interesting that Git 2.11 shortened the delta chains on aggressive repacks, when mercurial happily creates chains of > 1000 deltas (afaik, it doesn't have
by glandium 10y ago
It's interesting that Git 2.11 shortened the delta chains on aggressive repacks, when mercurial happily creates chains of > 1000 deltas (afaik, it doesn't have a hard limit, it stops using deltas when the size of the required deltas is larger than the full text).
Although it's worth noting mercurial and git use different delta formats.
Edit: This is apparently what chooses to store a delta or not in mercurial: https://www.mercurial-scm.org/repo/hg/file/9e29d4e4e08b/mercurial/revlog.py#l1395 https://www.mercurial-scm.org/repo/hg/file/9e29d4e4e08b/merc...
self._maxchainlen is not set by default.