test: enforce bundle1 in "test-commit-interactive.t"
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 20 Oct 2015 02:39:42 +0200
changeset 26863 0879bf38ec84
parent 26862 894f54d84d4a
child 26864 fb1217cea400
test: enforce bundle1 in "test-commit-interactive.t" This test generate a bundle to get a binary file to commit. We should ensure this binary file remains the same when we move to general delta as default.
tests/test-commit-interactive.t
--- a/tests/test-commit-interactive.t	Fri Nov 06 09:48:24 2015 -0800
+++ b/tests/test-commit-interactive.t	Tue Oct 20 02:39:42 2015 +0200
@@ -153,7 +153,7 @@
 
 Add binary file
 
-  $ hg bundle --base -2 tip.bundle
+  $ hg bundle --type v1 --base -2 tip.bundle
   1 changesets found
   $ hg add tip.bundle
   $ hg commit -i -d '4 0' -m binary<<EOF
@@ -178,7 +178,7 @@
 
 Change binary file
 
-  $ hg bundle --base -2 tip.bundle
+  $ hg bundle --base -2 --type v1 tip.bundle
   1 changesets found
   $ hg commit -i -d '5 0' -m binary-change<<EOF
   > y
@@ -202,7 +202,7 @@
 Rename and change binary file
 
   $ hg mv tip.bundle top.bundle
-  $ hg bundle --base -2 top.bundle
+  $ hg bundle --base -2 --type v1 top.bundle
   1 changesets found
   $ hg commit -i -d '6 0' -m binary-change-rename<<EOF
   > y