[PATCH 1 of 2] test: enforce v1 type in 'test-bundle2-format.t'
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Sun Oct 18 14:25:12 UTC 2015
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1444960294 -3600
# Fri Oct 16 02:51:34 2015 +0100
# Node ID c8b2db1d9fe39a11ab8471b5f814ad92230fcad1
# Parent 50fc80e46786301bcf775649ef8f6d121f62fa5c
# EXP-Topic generaldelta
# Available At http://hg.netv6.net/marmoute-wip/mercurial/
# hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r c8b2db1d9fe3
test: enforce v1 type in 'test-bundle2-format.t'
This bundle command is meant to generate a bundle1, we enforce that to avoid
test's misbehavior when moving to general-delta by default.
diff --git a/tests/test-bundle2-format.t b/tests/test-bundle2-format.t
--- a/tests/test-bundle2-format.t
+++ b/tests/test-bundle2-format.t
@@ -283,11 +283,11 @@ Test unbundling
options count: 0
parts count: 0
Test old style bundle are detected and refused
- $ hg bundle --all ../bundle.hg
+ $ hg bundle --all --type v1 ../bundle.hg
1 changesets found
$ hg statbundle2 < ../bundle.hg
abort: unknown bundle version 10
[255]
More information about the Mercurial-devel
mailing list