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

login
register
mail settings
Submitter Pierre-Yves David
Date May 29, 2015, 4:53 p.m.
Message ID <d0c3e36b16a7b1f38b63.1432918389@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/9368/
State Accepted
Headers show

Comments

Pierre-Yves David - May 29, 2015, 4:53 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@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.
Augie Fackler - May 29, 2015, 8:51 p.m.
On Fri, May 29, 2015 at 09:53:09AM -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@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

Patch 1 dropped per email, patches 2-8 queued.

>
> 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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

Patch

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