Patchwork [4,of,4,main-line] test: enforce non-general delta in 'test-generaldelta.t'

login
register
mail settings
Submitter Pierre-Yves David
Date Nov. 4, 2015, 2:50 p.m.
Message ID <9850e1f19c056631f30c.1446648628@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/11286/
State Accepted
Headers show

Comments

Pierre-Yves David - Nov. 4, 2015, 2:50 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1445186999 -7200
#      Sun Oct 18 18:49:59 2015 +0200
# Node ID 9850e1f19c056631f30cff7ed1667aebc7b468ae
# Parent  5b36c9016c6303d1d5bbeeb45984d5f421ad77da
# EXP-Topic generaldelta
# Available At http://hg.netv6.net/marmoute-wip/mercurial/
#              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r 9850e1f19c05
test: enforce non-general delta in 'test-generaldelta.t'

If general delta becomes the default, we need to be explicit about what we
want to be tested.
Augie Fackler - Nov. 5, 2015, 2:38 p.m.
On Wed, Nov 04, 2015 at 03:50:28PM +0100, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1445186999 -7200
> #      Sun Oct 18 18:49:59 2015 +0200
> # Node ID 9850e1f19c056631f30cff7ed1667aebc7b468ae
> # Parent  5b36c9016c6303d1d5bbeeb45984d5f421ad77da
> # EXP-Topic generaldelta
> # Available At http://hg.netv6.net/marmoute-wip/mercurial/
> #              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r 9850e1f19c05
> test: enforce non-general delta in 'test-generaldelta.t'
>
> If general delta becomes the default, we need to be explicit about what we
> want to be tested.

Queued these, thanks.

>
> diff --git a/tests/test-generaldelta.t b/tests/test-generaldelta.t
> --- a/tests/test-generaldelta.t
> +++ b/tests/test-generaldelta.t
> @@ -60,11 +60,11 @@ commit.
>    | o  1 f00c xy
>    |/
>    o  0 3903 a
>
>    $ cd ..
> -  $ hg init client
> +  $ hg init client --config format.generaldelta=false
>    $ cd client
>    $ hg pull -q ../server -r 4
>    $ hg debugindex x
>       rev    offset  length   base linkrev nodeid       p1           p2
>         0         0       3      0       1 1406e7411862 000000000000 000000000000
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/tests/test-generaldelta.t b/tests/test-generaldelta.t
--- a/tests/test-generaldelta.t
+++ b/tests/test-generaldelta.t
@@ -60,11 +60,11 @@  commit.
   | o  1 f00c xy
   |/
   o  0 3903 a
   
   $ cd ..
-  $ hg init client
+  $ hg init client --config format.generaldelta=false
   $ cd client
   $ hg pull -q ../server -r 4
   $ hg debugindex x
      rev    offset  length   base linkrev nodeid       p1           p2
        0         0       3      0       1 1406e7411862 000000000000 000000000000