tests/test-simple4server.t
changeset 885 6cb81dbb9516
parent 882 48804a8d7472
child 906 24f59f38a202
equal deleted inserted replaced
884:4ae115cf3efd 885:6cb81dbb9516
   149   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
   149   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
   150   bookmarks	
   150   bookmarks	
   151   phases	
   151   phases	
   152   namespaces	
   152   namespaces	
   153   obsolete	 (no-eol)
   153   obsolete	 (no-eol)
       
   154   $ curl --silent http://localhost:$HGPORT/?cmd=hello
       
   155   capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0
       
   156   $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
       
   157   lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 (no-eol)
   154 
   158 
   155   $ echo '[__temporary__]' >> server/.hg/hgrc
   159   $ echo '[__temporary__]' >> server/.hg/hgrc
   156   $ echo 'advertiseobsolete=False' >> server/.hg/hgrc
   160   $ echo 'advertiseobsolete=False' >> server/.hg/hgrc
   157   $ $TESTDIR/killdaemons.py
   161   $ $TESTDIR/killdaemons.py
   158   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   162   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   160 
   164 
   161   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
   165   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
   162   bookmarks	
   166   bookmarks	
   163   phases	
   167   phases	
   164   namespaces	 (no-eol)
   168   namespaces	 (no-eol)
       
   169   $ curl --silent http://localhost:$HGPORT/?cmd=hello
       
   170   capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
       
   171   $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
       
   172   lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 (no-eol)
   165 
   173 
   166   $ echo 'advertiseobsolete=True' >> server/.hg/hgrc
   174   $ echo 'advertiseobsolete=True' >> server/.hg/hgrc
   167   $ $TESTDIR/killdaemons.py
   175   $ $TESTDIR/killdaemons.py
   168   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   176   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   169   $ cat hg.pid >> $DAEMON_PIDS
   177   $ cat hg.pid >> $DAEMON_PIDS
   171   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
   179   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
   172   bookmarks	
   180   bookmarks	
   173   phases	
   181   phases	
   174   namespaces	
   182   namespaces	
   175   obsolete	 (no-eol)
   183   obsolete	 (no-eol)
       
   184   $ curl --silent http://localhost:$HGPORT/?cmd=hello
       
   185   capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0
       
   186   $ curl --silent http://localhost:$HGPORT/?cmd=capabilities
       
   187   lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0 _evoext_pullobsmarkers_0 _evoext_obshash_0 (no-eol)