[PATCH 3 of 3] test: use bundle2 in test-pull-http

Augie Fackler raf at durin42.com
Mon Jun 1 08:44:24 CDT 2015


On Sun, May 31, 2015 at 09:48:39PM -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1432937929 25200
> #      Fri May 29 15:18:49 2015 -0700
> # Node ID 52569d4c494e4e1b57a3fa1873a3a9f133bce8a7
> # Parent  baff9cfaeb47fd27655ee41ba32886315d50995b
> test: use bundle2 in test-pull-http

These are queued, thanks.

>
> This test have a minor output change when using bundle2. We get this change
> early to reduce the noise in the final change.
>
> diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t
> --- a/tests/test-pull-http.t
> +++ b/tests/test-pull-http.t
> @@ -1,7 +1,14 @@
>  #require killdaemons
>
> +  $ cat << EOF >> $HGRCPATH
> +  > [experimental]
> +  > # drop me once bundle2 is the default,
> +  > # added to get test change early.
> +  > bundle2-exp = True
> +  > EOF
> +
>    $ hg init test
>    $ cd test
>    $ echo a > a
>    $ hg ci -Ama
>    adding a
> @@ -71,9 +78,10 @@ serve errors
>
>  expect error, pulling not allowed
>
>    $ req
>    pulling from http://localhost:$HGPORT/
> +  searching for changes
>    abort: authorization failed
>    % serve errors
>
>    $ cd ..
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list