Mercurial > hg
comparison mercurial/keepalive.py @ 31474:10c0ee338535 stable
exchange: use v2 bundles for modern compression engines (issue5506)
Previously, `hg bundle zstd` on a non-generaldelta repo would
attempt to use a v1 bundle. This would fail because zstd is not
supported on v1 bundles.
This patch changes the behavior to automatically use a v2 bundle
when the user explicitly requests a bundlespec that is a compression
engine not supported on v1. If the bundlespec is <engine>-v1, it is
still explicitly rejected because that request cannot be fulfilled.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 16 Mar 2017 12:33:15 -0700 |
parents | dc5b594f41e9 |
children | 1beeb5185930 |
comparison
equal
deleted
inserted
replaced
31473:ffed3bf5cd4c | 31474:10c0ee338535 |
---|