https://bz.mercurial-scm.org/show_bug.cgi?id=5506
Bug ID: 5506 Summary: bundle -t zstd fails on long-lived repository Product: Mercurial Version: 4.1.1 Hardware: All OS: All Status: UNCONFIRMED Severity: bug Priority: wish Component: bundle2 Assignee: bugzi...@mercurial-scm.org Reporter: fo...@lares.dti.ne.jp CC: mercurial-devel@mercurial-scm.org, pierre-yves.da...@ens-lyon.org On long-lived repository (5.5 years or so, or one created with usegeneraldelta=no, explicitly), "hg bundle --type zstd" fails with error below. File "..../mercurial/bundle2.py", line 1320, in writebundle header, comp = bundletypes[bundletype] KeyError: 'HG10ZS' If current repository doesn't have "generaldelta" in its requirements, parsebundlespec() in exchange.py returns "v1" as "appropriate bundle version". This causes unknown bundle type name "HG10ZS" for "hg bundle --type zstd". This issue can be reproduced by steps below. $ hg --config format.usegeneraldelta=no init repo $ echo a > repo/a $ hg -R repo commit -Am '#0' $ hg -R repo bundle --all --type zstd bundle.zstd -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel