tests/test-hgweb-commands.t
changeset 37413 33af46d639b4
parent 37330 db06c4bb2158
child 37829 2ead51dcde71
equal deleted inserted replaced
37412:1d459f61b42a 37413:33af46d639b4
  1908 capabilities
  1908 capabilities
  1909 
  1909 
  1910   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities'; echo
  1910   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities'; echo
  1911   200 Script output follows
  1911   200 Script output follows
  1912   
  1912   
  1913   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$
  1913   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
  1914 
  1914 
  1915 wire protocol command to wrong base URL
  1915 wire protocol command to wrong base URL
  1916 
  1916 
  1917   $ get-with-headers.py $LOCALIP:$HGPORT 'foo?cmd=capabilities' -
  1917   $ get-with-headers.py $LOCALIP:$HGPORT 'foo?cmd=capabilities' -
  1918   404 Not Found
  1918   404 Not Found
  2123 (plain version to check the format)
  2123 (plain version to check the format)
  2124 
  2124 
  2125   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | dd ibs=76 count=1 2> /dev/null; echo
  2125   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | dd ibs=76 count=1 2> /dev/null; echo
  2126   200 Script output follows
  2126   200 Script output follows
  2127   
  2127   
  2128   lookup branchmap pushkey known getbundle unbundle
  2128   batch branchmap bundle2=HG20%0Abookmarks%0Achange
  2129 
  2129 
  2130 (spread version to check the content)
  2130 (spread version to check the content)
  2131 
  2131 
  2132   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | tr ' ' '\n'; echo
  2132   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | tr ' ' '\n'; echo
  2133   200
  2133   200
  2134   Script
  2134   Script
  2135   output
  2135   output
  2136   follows
  2136   follows
  2137   
  2137   
       
  2138   batch
       
  2139   branchmap
       
  2140   $USUAL_BUNDLE2_CAPS_SERVER$
       
  2141   changegroupsubset
       
  2142   compression=$BUNDLE2_COMPRESSIONS$
       
  2143   getbundle
       
  2144   httpheader=1024
       
  2145   httpmediatype=0.1rx,0.1tx,0.2tx
       
  2146   known
  2138   lookup
  2147   lookup
  2139   branchmap
       
  2140   pushkey
  2148   pushkey
  2141   known
       
  2142   getbundle
       
  2143   unbundlehash
       
  2144   changegroupsubset
       
  2145   stream-preferred
  2149   stream-preferred
  2146   streamreqs=generaldelta,revlogv1
  2150   streamreqs=generaldelta,revlogv1
  2147   $USUAL_BUNDLE2_CAPS_SERVER$
       
  2148   unbundle=HG10GZ,HG10BZ,HG10UN
  2151   unbundle=HG10GZ,HG10BZ,HG10UN
  2149   batch
  2152   unbundlehash
  2150   httpheader=1024
       
  2151   httpmediatype=0.1rx,0.1tx,0.2tx
       
  2152   compression=$BUNDLE2_COMPRESSIONS$
       
  2153 
  2153 
  2154 heads
  2154 heads
  2155 
  2155 
  2156 ERRORS ENCOUNTERED
  2156 ERRORS ENCOUNTERED
  2157 
  2157