Patchwork [09,of,10,main-line-of-work,(some,two,digits,more,patches,to,go)] test: use bundle2 in test-acl

login
register
mail settings
Submitter Pierre-Yves David
Date May 29, 2015, 4:53 p.m.
Message ID <fb567107cbd709023e34.1432918390@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/9369/
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 1432734162 25200
#      Wed May 27 06:42:42 2015 -0700
# Node ID fb567107cbd709023e3478c87c6012dafd27bfbb
# Parent  d0c3e36b16a7b1f38b63440ccc68884945383a78
test: use bundle2 in test-acl

This tests make extensive usage of --debug so moving to bundle2 based exchange
have a massive impact. We do it early to reduce the noise create by a future
usage of bundle2 as the default protocol.
Augie Fackler - May 29, 2015, 8:51 p.m.
On Fri, May 29, 2015 at 09:53:10AM -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1432734162 25200
> #      Wed May 27 06:42:42 2015 -0700
> # Node ID fb567107cbd709023e3478c87c6012dafd27bfbb
> # Parent  d0c3e36b16a7b1f38b63440ccc68884945383a78
> test: use bundle2 in test-acl
>
> This tests make extensive usage of --debug so moving to bundle2 based exchange
> have a massive impact. We do it early to reduce the noise create by a future
> usage of bundle2 as the default protocol.

Oof. Can we disable the bundle2 debug messages in this test instead of
incurring all this useless logspew?

>
> diff --git a/tests/test-acl.t b/tests/test-acl.t
> --- a/tests/test-acl.t
> +++ b/tests/test-acl.t
> @@ -42,10 +42,17 @@
>    > [extensions]
>    > f=`pwd`/fakegroups.py
>    > EOF
>    > }
>
> +  $ cat << EOF >> $HGRCPATH
> +  > [experimental]
> +  > # drop me once bundle2 is the default,
> +  > # added to get test change early.
> +  > bundle2-exp = True
> +  > EOF
> +
>    $ hg init a
>    $ cd a
>    $ mkdir foo foo/Bar quux
>    $ echo 'in foo' > foo/file.txt
>    $ echo 'in foo/Bar' > foo/Bar/file.txt
> @@ -89,21 +96,43 @@ Extension disabled for lack of a hook
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
>    adding file changes
>    adding foo/Bar/file.txt revisions
>    adding foo/file.txt revisions
>    adding quux/file.py revisions
>    added 3 changesets with 3 changes to 3 files
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -131,10 +160,21 @@ Extension disabled for lack of acl.sourc
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -143,11 +183,22 @@ Extension disabled for lack of acl.sourc
>    adding foo/file.txt revisions
>    adding quux/file.py revisions
>    added 3 changesets with 3 changes to 3 files
>    calling hook pretxnchangegroup.acl: hgext.acl.hook
>    acl: changes have source "push" - skipping
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -176,10 +227,21 @@ No [acl.allow]/[acl.deny]
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -198,11 +260,22 @@ No [acl.allow]/[acl.deny]
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -231,10 +304,21 @@ Empty [acl.allow]
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -249,10 +333,12 @@ Empty [acl.allow]
>    acl: acl.deny.branches not enabled
>    acl: acl.allow enabled, 0 entries for user fred
>    acl: acl.deny not enabled
>    acl: branch access granted: "ef1ea85a6374" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
>    no rollback information available
>    0:6675d58eff77
> @@ -283,10 +369,21 @@ fred is allowed inside foo/
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -305,10 +402,12 @@ fred is allowed inside foo/
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
>    no rollback information available
>    0:6675d58eff77
> @@ -340,10 +439,21 @@ Empty [acl.deny]
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -358,10 +468,12 @@ Empty [acl.deny]
>    acl: acl.deny.branches not enabled
>    acl: acl.allow enabled, 0 entries for user barney
>    acl: acl.deny enabled, 0 entries for user barney
>    acl: branch access granted: "ef1ea85a6374" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
>    no rollback information available
>    0:6675d58eff77
> @@ -394,10 +506,21 @@ fred is allowed inside foo/, but not foo
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -416,10 +539,12 @@ fred is allowed inside foo/, but not foo
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
>    no rollback information available
>    0:6675d58eff77
> @@ -453,10 +578,21 @@ fred is allowed inside foo/, but not foo
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -473,10 +609,12 @@ fred is allowed inside foo/, but not foo
>    acl: acl.deny enabled, 2 entries for user fred
>    acl: branch access granted: "ef1ea85a6374" on branch "default"
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
>    no rollback information available
>    0:6675d58eff77
> @@ -509,10 +647,21 @@ fred is allowed inside foo/, but not foo
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -527,10 +676,12 @@ fred is allowed inside foo/, but not foo
>    acl: acl.deny.branches not enabled
>    acl: acl.allow enabled, 0 entries for user barney
>    acl: acl.deny enabled, 0 entries for user barney
>    acl: branch access granted: "ef1ea85a6374" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
>    no rollback information available
>    0:6675d58eff77
> @@ -567,10 +718,21 @@ barney is allowed everywhere
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -589,11 +751,22 @@ barney is allowed everywhere
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -629,10 +802,21 @@ wilma can change files with a .txt exten
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -651,10 +835,12 @@ wilma can change files with a .txt exten
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
>    no rollback information available
>    0:6675d58eff77
> @@ -694,10 +880,21 @@ file specified by acl.config does not ex
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -707,10 +904,12 @@ file specified by acl.config does not ex
>    adding quux/file.py revisions
>    added 3 changesets with 3 changes to 3 files
>    calling hook pretxnchangegroup.acl: hgext.acl.hook
>    acl: checking access for user "barney"
>    error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config'
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: No such file or directory: ../acl.config
>    no rollback information available
>    0:6675d58eff77
> @@ -754,10 +953,21 @@ betty is allowed inside foo/ by a acl.co
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -776,10 +986,12 @@ betty is allowed inside foo/ by a acl.co
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
>    no rollback information available
>    0:6675d58eff77
> @@ -825,10 +1037,21 @@ acl.config can set only [acl.allow]/[acl
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -847,11 +1070,22 @@ acl.config can set only [acl.allow]/[acl
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -890,10 +1124,21 @@ fred is always allowed
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -912,11 +1157,22 @@ fred is always allowed
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -951,10 +1207,21 @@ no one is allowed inside foo/Bar/
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -971,10 +1238,12 @@ no one is allowed inside foo/Bar/
>    acl: acl.deny enabled, 1 entries for user fred
>    acl: branch access granted: "ef1ea85a6374" on branch "default"
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
>    no rollback information available
>    0:6675d58eff77
> @@ -1014,10 +1283,21 @@ OS-level groups
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -1037,11 +1317,22 @@ OS-level groups
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-bundle: 3 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 2 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 1 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 0 (undo push)
>    0:6675d58eff77
>
> @@ -1076,10 +1367,21 @@ OS-level groups
>    3 changesets found
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
> +  bundle2-output-bundle: "HG20", 4 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    adding manifests
> @@ -1098,10 +1400,12 @@ OS-level groups
>    acl: acl.deny enabled, 1 entries for user fred
>    acl: branch access granted: "ef1ea85a6374" on branch "default"
>    acl: path access granted: "ef1ea85a6374"
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
> +  bundle2-input-part: total payload size 1606
> +  bundle2-input-bundle: 3 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
>    no rollback information available
>    0:6675d58eff77
> @@ -1178,10 +1482,22 @@ No branch acls specified
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1204,11 +1520,26 @@ No branch acls specified
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
>    acl: branch access granted: "e8fc755d4d82" on branch "foobar"
>    acl: path access granted: "e8fc755d4d82"
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
> +  bundle2-input-bundle: 4 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 3 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 2 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 2 (undo push)
>    2:fb35475503ef
>
> @@ -1240,10 +1571,22 @@ Branch acl deny test
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1265,10 +1608,12 @@ Branch acl deny test
>    acl: branch access granted: "f9cafe1212c8" on branch "default"
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
>    error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-bundle: 4 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
>    no rollback information available
>    2:fb35475503ef
> @@ -1300,10 +1645,22 @@ Branch acl empty allow test
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1319,10 +1676,12 @@ Branch acl empty allow test
>    acl: acl.allow.branches enabled, 0 entries for user astro
>    acl: acl.deny.branches not enabled
>    acl: acl.allow not enabled
>    acl: acl.deny not enabled
>    error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-bundle: 4 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
>    no rollback information available
>    2:fb35475503ef
> @@ -1356,10 +1715,22 @@ Branch acl allow other
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1375,10 +1746,12 @@ Branch acl allow other
>    acl: acl.allow.branches enabled, 0 entries for user astro
>    acl: acl.deny.branches not enabled
>    acl: acl.allow not enabled
>    acl: acl.deny not enabled
>    error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-bundle: 4 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
>    no rollback information available
>    2:fb35475503ef
> @@ -1406,10 +1779,22 @@ Branch acl allow other
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1432,11 +1817,26 @@ Branch acl allow other
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
>    acl: branch access granted: "e8fc755d4d82" on branch "foobar"
>    acl: path access granted: "e8fc755d4d82"
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
> +  bundle2-input-bundle: 4 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 3 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 2 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 2 (undo push)
>    2:fb35475503ef
>
> @@ -1473,10 +1873,22 @@ push foobar into the remote
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1499,11 +1911,26 @@ push foobar into the remote
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
>    acl: branch access granted: "e8fc755d4d82" on branch "foobar"
>    acl: path access granted: "e8fc755d4d82"
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
> +  bundle2-input-bundle: 4 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 3 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 2 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 2 (undo push)
>    2:fb35475503ef
>
> @@ -1539,10 +1966,22 @@ Branch acl conflicting deny
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1558,10 +1997,12 @@ Branch acl conflicting deny
>    acl: acl.allow.branches not enabled
>    acl: acl.deny.branches enabled, 1 entries for user george
>    acl: acl.allow not enabled
>    acl: acl.deny not enabled
>    error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-bundle: 4 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
>    no rollback information available
>    2:fb35475503ef
> @@ -1594,10 +2035,22 @@ User 'astro' must not be denied
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1620,11 +2073,26 @@ User 'astro' must not be denied
>    acl: path access granted: "f9cafe1212c8"
>    acl: branch access granted: "911600dab2ae" on branch "default"
>    acl: path access granted: "911600dab2ae"
>    acl: branch access granted: "e8fc755d4d82" on branch "foobar"
>    acl: path access granted: "e8fc755d4d82"
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
> +  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
> +  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
> +  bundle2-input-bundle: 4 parts total
>    updating the branch cache
> +  bundle2-output-bundle: "HG20", 3 parts total
> +  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
> +  bundle2-input-bundle: 2 parts total
>    listing keys for "phases"
>    try to push obsolete markers to remote
>    repository tip rolled back to revision 2 (undo push)
>    2:fb35475503ef
>
> @@ -1654,10 +2122,22 @@ Non-astro users must be denied
>    list of changesets:
>    ef1ea85a6374b77d6da9dcda9541f498f2d17df7
>    f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
>    911600dab2ae7a9baff75958b84fe606851ce955
>    e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
> +  bundle2-output-bundle: "HG20", 5 parts total
> +  bundle2-output-part: "replycaps" 93 bytes payload
> +  bundle2-output-part: "check:heads" streamed payload
> +  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
> +  bundle2-input-bundle: with-transaction
> +  bundle2-input-part: "replycaps" supported
> +  bundle2-input-part: total payload size 93
> +  bundle2-input-part: "check:heads" supported
> +  bundle2-input-part: total payload size 20
> +  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
>    adding changesets
>    add changeset ef1ea85a6374
>    add changeset f9cafe1212c8
>    add changeset 911600dab2ae
>    add changeset e8fc755d4d82
> @@ -1673,10 +2153,12 @@ Non-astro users must be denied
>    acl: acl.allow.branches not enabled
>    acl: acl.deny.branches enabled, 1 entries for user george
>    acl: acl.allow not enabled
>    acl: acl.deny not enabled
>    error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
> +  bundle2-input-part: total payload size 2101
> +  bundle2-input-bundle: 4 parts total
>    transaction abort!
>    rollback completed
>    abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
>    no rollback information available
>    2:fb35475503ef
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel
Pierre-Yves David - May 29, 2015, 9:05 p.m.
On 05/29/2015 01:51 PM, Augie Fackler wrote:
> On Fri, May 29, 2015 at 09:53:10AM -0700, Pierre-Yves David wrote:
>> # HG changeset patch
>> # User Pierre-Yves David <pierre-yves.david@fb.com>
>> # Date 1432734162 25200
>> #      Wed May 27 06:42:42 2015 -0700
>> # Node ID fb567107cbd709023e3478c87c6012dafd27bfbb
>> # Parent  d0c3e36b16a7b1f38b63440ccc68884945383a78
>> test: use bundle2 in test-acl
>>
>> This tests make extensive usage of --debug so moving to bundle2 based exchange
>> have a massive impact. We do it early to reduce the noise create by a future
>> usage of bundle2 as the default protocol.
>
> Oof. Can we disable the bundle2 debug messages in this test instead of
> incurring all this useless logspew?

No, this is the "simple" debug version that informs you about generic 
level stuff. This is similar to other debug output like "list of 
changesets" or "listing key for X" etc.

Patch

diff --git a/tests/test-acl.t b/tests/test-acl.t
--- a/tests/test-acl.t
+++ b/tests/test-acl.t
@@ -42,10 +42,17 @@ 
   > [extensions]
   > f=`pwd`/fakegroups.py
   > EOF
   > }
 
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > # drop me once bundle2 is the default,
+  > # added to get test change early.
+  > bundle2-exp = True
+  > EOF
+
   $ hg init a
   $ cd a
   $ mkdir foo foo/Bar quux
   $ echo 'in foo' > foo/file.txt
   $ echo 'in foo/Bar' > foo/Bar/file.txt
@@ -89,21 +96,43 @@  Extension disabled for lack of a hook
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
   adding file changes
   adding foo/Bar/file.txt revisions
   adding foo/file.txt revisions
   adding quux/file.py revisions
   added 3 changesets with 3 changes to 3 files
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -131,10 +160,21 @@  Extension disabled for lack of acl.sourc
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -143,11 +183,22 @@  Extension disabled for lack of acl.sourc
   adding foo/file.txt revisions
   adding quux/file.py revisions
   added 3 changesets with 3 changes to 3 files
   calling hook pretxnchangegroup.acl: hgext.acl.hook
   acl: changes have source "push" - skipping
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -176,10 +227,21 @@  No [acl.allow]/[acl.deny]
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -198,11 +260,22 @@  No [acl.allow]/[acl.deny]
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -231,10 +304,21 @@  Empty [acl.allow]
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -249,10 +333,12 @@  Empty [acl.allow]
   acl: acl.deny.branches not enabled
   acl: acl.allow enabled, 0 entries for user fred
   acl: acl.deny not enabled
   acl: branch access granted: "ef1ea85a6374" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
   no rollback information available
   0:6675d58eff77
@@ -283,10 +369,21 @@  fred is allowed inside foo/
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -305,10 +402,12 @@  fred is allowed inside foo/
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
   no rollback information available
   0:6675d58eff77
@@ -340,10 +439,21 @@  Empty [acl.deny]
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -358,10 +468,12 @@  Empty [acl.deny]
   acl: acl.deny.branches not enabled
   acl: acl.allow enabled, 0 entries for user barney
   acl: acl.deny enabled, 0 entries for user barney
   acl: branch access granted: "ef1ea85a6374" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
   no rollback information available
   0:6675d58eff77
@@ -394,10 +506,21 @@  fred is allowed inside foo/, but not foo
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -416,10 +539,12 @@  fred is allowed inside foo/, but not foo
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
   no rollback information available
   0:6675d58eff77
@@ -453,10 +578,21 @@  fred is allowed inside foo/, but not foo
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -473,10 +609,12 @@  fred is allowed inside foo/, but not foo
   acl: acl.deny enabled, 2 entries for user fred
   acl: branch access granted: "ef1ea85a6374" on branch "default"
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
   no rollback information available
   0:6675d58eff77
@@ -509,10 +647,21 @@  fred is allowed inside foo/, but not foo
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -527,10 +676,12 @@  fred is allowed inside foo/, but not foo
   acl: acl.deny.branches not enabled
   acl: acl.allow enabled, 0 entries for user barney
   acl: acl.deny enabled, 0 entries for user barney
   acl: branch access granted: "ef1ea85a6374" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
   no rollback information available
   0:6675d58eff77
@@ -567,10 +718,21 @@  barney is allowed everywhere
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -589,11 +751,22 @@  barney is allowed everywhere
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -629,10 +802,21 @@  wilma can change files with a .txt exten
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -651,10 +835,12 @@  wilma can change files with a .txt exten
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
   no rollback information available
   0:6675d58eff77
@@ -694,10 +880,21 @@  file specified by acl.config does not ex
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -707,10 +904,12 @@  file specified by acl.config does not ex
   adding quux/file.py revisions
   added 3 changesets with 3 changes to 3 files
   calling hook pretxnchangegroup.acl: hgext.acl.hook
   acl: checking access for user "barney"
   error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config'
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: No such file or directory: ../acl.config
   no rollback information available
   0:6675d58eff77
@@ -754,10 +953,21 @@  betty is allowed inside foo/ by a acl.co
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -776,10 +986,12 @@  betty is allowed inside foo/ by a acl.co
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
   no rollback information available
   0:6675d58eff77
@@ -825,10 +1037,21 @@  acl.config can set only [acl.allow]/[acl
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -847,11 +1070,22 @@  acl.config can set only [acl.allow]/[acl
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -890,10 +1124,21 @@  fred is always allowed
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -912,11 +1157,22 @@  fred is always allowed
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -951,10 +1207,21 @@  no one is allowed inside foo/Bar/
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -971,10 +1238,12 @@  no one is allowed inside foo/Bar/
   acl: acl.deny enabled, 1 entries for user fred
   acl: branch access granted: "ef1ea85a6374" on branch "default"
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
   no rollback information available
   0:6675d58eff77
@@ -1014,10 +1283,21 @@  OS-level groups
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -1037,11 +1317,22 @@  OS-level groups
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
+  bundle2-input-part: total payload size 1606
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-bundle: 3 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 2 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 1 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 0 (undo push)
   0:6675d58eff77
   
@@ -1076,10 +1367,21 @@  OS-level groups
   3 changesets found
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
+  bundle2-output-bundle: "HG20", 4 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   adding manifests
@@ -1098,10 +1400,12 @@  OS-level groups
   acl: acl.deny enabled, 1 entries for user fred
   acl: branch access granted: "ef1ea85a6374" on branch "default"
   acl: path access granted: "ef1ea85a6374"
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
+  bundle2-input-part: total payload size 1606
+  bundle2-input-bundle: 3 parts total
   transaction abort!
   rollback completed
   abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
   no rollback information available
   0:6675d58eff77
@@ -1178,10 +1482,22 @@  No branch acls specified
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1204,11 +1520,26 @@  No branch acls specified
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
   acl: branch access granted: "e8fc755d4d82" on branch "foobar"
   acl: path access granted: "e8fc755d4d82"
+  bundle2-input-part: total payload size 2101
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
+  bundle2-input-bundle: 4 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 3 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 2 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 2 (undo push)
   2:fb35475503ef
   
@@ -1240,10 +1571,22 @@  Branch acl deny test
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1265,10 +1608,12 @@  Branch acl deny test
   acl: branch access granted: "f9cafe1212c8" on branch "default"
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
   error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
+  bundle2-input-part: total payload size 2101
+  bundle2-input-bundle: 4 parts total
   transaction abort!
   rollback completed
   abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
   no rollback information available
   2:fb35475503ef
@@ -1300,10 +1645,22 @@  Branch acl empty allow test
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1319,10 +1676,12 @@  Branch acl empty allow test
   acl: acl.allow.branches enabled, 0 entries for user astro
   acl: acl.deny.branches not enabled
   acl: acl.allow not enabled
   acl: acl.deny not enabled
   error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 2101
+  bundle2-input-bundle: 4 parts total
   transaction abort!
   rollback completed
   abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
   no rollback information available
   2:fb35475503ef
@@ -1356,10 +1715,22 @@  Branch acl allow other
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1375,10 +1746,12 @@  Branch acl allow other
   acl: acl.allow.branches enabled, 0 entries for user astro
   acl: acl.deny.branches not enabled
   acl: acl.allow not enabled
   acl: acl.deny not enabled
   error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 2101
+  bundle2-input-bundle: 4 parts total
   transaction abort!
   rollback completed
   abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
   no rollback information available
   2:fb35475503ef
@@ -1406,10 +1779,22 @@  Branch acl allow other
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1432,11 +1817,26 @@  Branch acl allow other
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
   acl: branch access granted: "e8fc755d4d82" on branch "foobar"
   acl: path access granted: "e8fc755d4d82"
+  bundle2-input-part: total payload size 2101
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
+  bundle2-input-bundle: 4 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 3 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 2 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 2 (undo push)
   2:fb35475503ef
   
@@ -1473,10 +1873,22 @@  push foobar into the remote
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1499,11 +1911,26 @@  push foobar into the remote
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
   acl: branch access granted: "e8fc755d4d82" on branch "foobar"
   acl: path access granted: "e8fc755d4d82"
+  bundle2-input-part: total payload size 2101
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
+  bundle2-input-bundle: 4 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 3 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 2 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 2 (undo push)
   2:fb35475503ef
   
@@ -1539,10 +1966,22 @@  Branch acl conflicting deny
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1558,10 +1997,12 @@  Branch acl conflicting deny
   acl: acl.allow.branches not enabled
   acl: acl.deny.branches enabled, 1 entries for user george
   acl: acl.allow not enabled
   acl: acl.deny not enabled
   error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 2101
+  bundle2-input-bundle: 4 parts total
   transaction abort!
   rollback completed
   abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
   no rollback information available
   2:fb35475503ef
@@ -1594,10 +2035,22 @@  User 'astro' must not be denied
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1620,11 +2073,26 @@  User 'astro' must not be denied
   acl: path access granted: "f9cafe1212c8"
   acl: branch access granted: "911600dab2ae" on branch "default"
   acl: path access granted: "911600dab2ae"
   acl: branch access granted: "e8fc755d4d82" on branch "foobar"
   acl: path access granted: "e8fc755d4d82"
+  bundle2-input-part: total payload size 2101
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
+  bundle2-input-part: "pushkey" (params: 4 mandatory) supported
+  pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
+  bundle2-input-bundle: 4 parts total
   updating the branch cache
+  bundle2-output-bundle: "HG20", 3 parts total
+  bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
+  bundle2-input-bundle: 2 parts total
   listing keys for "phases"
   try to push obsolete markers to remote
   repository tip rolled back to revision 2 (undo push)
   2:fb35475503ef
   
@@ -1654,10 +2122,22 @@  Non-astro users must be denied
   list of changesets:
   ef1ea85a6374b77d6da9dcda9541f498f2d17df7
   f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
   911600dab2ae7a9baff75958b84fe606851ce955
   e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
+  bundle2-output-bundle: "HG20", 5 parts total
+  bundle2-output-part: "replycaps" 93 bytes payload
+  bundle2-output-part: "check:heads" streamed payload
+  bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
+  bundle2-input-bundle: with-transaction
+  bundle2-input-part: "replycaps" supported
+  bundle2-input-part: total payload size 93
+  bundle2-input-part: "check:heads" supported
+  bundle2-input-part: total payload size 20
+  bundle2-input-part: "changegroup" (params: 1 mandatory) supported
   adding changesets
   add changeset ef1ea85a6374
   add changeset f9cafe1212c8
   add changeset 911600dab2ae
   add changeset e8fc755d4d82
@@ -1673,10 +2153,12 @@  Non-astro users must be denied
   acl: acl.allow.branches not enabled
   acl: acl.deny.branches enabled, 1 entries for user george
   acl: acl.allow not enabled
   acl: acl.deny not enabled
   error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
+  bundle2-input-part: total payload size 2101
+  bundle2-input-bundle: 4 parts total
   transaction abort!
   rollback completed
   abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
   no rollback information available
   2:fb35475503ef