Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-commands.t @ 37413:33af46d639b4
wireproto: send server capabilities in canonical order
Differential Revision: https://phab.mercurial-scm.org/D3171
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Fri, 06 Apr 2018 22:22:19 +0200 |
parents | db06c4bb2158 |
children | 2ead51dcde71 |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Fri Apr 06 22:16:11 2018 +0200 +++ b/tests/test-hgweb-commands.t Fri Apr 06 22:22:19 2018 +0200 @@ -1910,7 +1910,7 @@ $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities'; echo 200 Script output follows - lookup branchmap pushkey known getbundle unbundlehash changegroupsubset $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN batch httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=$BUNDLE2_COMPRESSIONS$ + batch branchmap $USUAL_BUNDLE2_CAPS_SERVER$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash wire protocol command to wrong base URL @@ -2125,7 +2125,7 @@ $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | dd ibs=76 count=1 2> /dev/null; echo 200 Script output follows - lookup branchmap pushkey known getbundle unbundle + batch branchmap bundle2=HG20%0Abookmarks%0Achange (spread version to check the content) @@ -2135,21 +2135,21 @@ output follows - lookup + batch branchmap - pushkey + $USUAL_BUNDLE2_CAPS_SERVER$ + changegroupsubset + compression=$BUNDLE2_COMPRESSIONS$ + getbundle + httpheader=1024 + httpmediatype=0.1rx,0.1tx,0.2tx known - getbundle - unbundlehash - changegroupsubset + lookup + pushkey stream-preferred streamreqs=generaldelta,revlogv1 - $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN - batch - httpheader=1024 - httpmediatype=0.1rx,0.1tx,0.2tx - compression=$BUNDLE2_COMPRESSIONS$ + unbundlehash heads