[PATCH 08 of 10 main-line-of-work (some two digits more patches to go)] test: use both bundle formats in test-bookmarks-pushpull

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 29 11:53:09 CDT 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1432734932 25200
#      Wed May 27 06:55:32 2015 -0700
# Node ID d0c3e36b16a7b1f38b63440ccc68884945383a78
# Parent  82817d935addb59d7afa42c444e53d6edcc69db4
test: use both bundle formats in test-bookmarks-pushpull

It is valuable to have both formats tested.

diff --git a/tests/test-bookmarks-pushpull.t b/tests/test-bookmarks-pushpull.t
--- a/tests/test-bookmarks-pushpull.t
+++ b/tests/test-bookmarks-pushpull.t
@@ -703,11 +703,21 @@ Local push
   no bookmarks set
 
 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
   remote: pushkey-abort: prepushkey hook exited with status 1
   exporting bookmark @ failed!
@@ -716,14 +726,24 @@ Using ssh
   no bookmarks set
 
 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
   remote: pushkey-abort: prepushkey hook exited with status 1
   exporting bookmark @ failed!
   [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


More information about the Mercurial-devel mailing list