changeset 25357:efa2621c2859

test: use both bundle formats in test-bookmarks-pushpull It is valuable to have both formats tested.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 27 May 2015 06:55:32 -0700
parents d49328038b38
children 31f3636e9296
files tests/test-bookmarks-pushpull.t
diffstat 1 files changed, 22 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bookmarks-pushpull.t	Wed May 27 06:35:34 2015 -0700
+++ b/tests/test-bookmarks-pushpull.t	Wed May 27 06:55:32 2015 -0700
@@ -705,7 +705,17 @@
 Using ssh
 ---------
 
-  $ hg push -B @ ssh
+  $ hg push -B @ ssh --config experimental.bundle2-exp=True
+  pushing to ssh://user@dummy/issue4455-dest
+  searching for changes
+  no changes found
+  remote: pushkey-abort: prepushkey hook exited with status 1
+  exporting bookmark @ failed!
+  [1]
+  $ hg -R ../issue4455-dest/ bookmarks
+  no bookmarks set
+
+  $ hg push -B @ ssh --config experimental.bundle2-exp=False
   pushing to ssh://user@dummy/issue4455-dest
   searching for changes
   no changes found
@@ -718,7 +728,7 @@
 Using http
 ----------
 
-  $ hg push -B @ http
+  $ hg push -B @ http --config experimental.bundle2-exp=True
   pushing to http://localhost:$HGPORT/
   searching for changes
   no changes found
@@ -727,3 +737,13 @@
   [1]
   $ hg -R ../issue4455-dest/ bookmarks
   no bookmarks set
+
+  $ hg push -B @ http --config experimental.bundle2-exp=False
+  pushing to http://localhost:$HGPORT/
+  searching for changes
+  no changes found
+  remote: pushkey-abort: prepushkey hook exited with status 1
+  exporting bookmark @ failed!
+  [1]
+  $ hg -R ../issue4455-dest/ bookmarks
+  no bookmarks set