tests/test-evolve-serveronly-bundle2.t
changeset 4643 77f3699e711e
parent 4181 ab3581bc0637
child 4672 653c42af172e
child 5198 cbfd36046969
equal deleted inserted replaced
4642:a7c4f163656b 4643:77f3699e711e
    84 
    84 
    85 Capacity testing
    85 Capacity testing
    86 ===================
    86 ===================
    87 
    87 
    88   $ curl -s http://localhost:$HGPORT/?cmd=hello
    88   $ curl -s http://localhost:$HGPORT/?cmd=hello
    89   capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (glob)
    89   capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (glob)
    90   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
    90   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
    91   _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (no-eol) (glob)
    91   _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (no-eol) (glob)
    92 
    92 
    93   $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort
    93   $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort
    94   bookmarks	
    94   bookmarks	
    95   namespaces	
    95   namespaces	
    96   obsolete	
    96   obsolete	
   149   bookmarks	
   149   bookmarks	
   150   namespaces	
   150   namespaces	
   151   obsolete	
   151   obsolete	
   152   phases	
   152   phases	
   153   $ curl -s http://localhost:$HGPORT/?cmd=hello
   153   $ curl -s http://localhost:$HGPORT/?cmd=hello
   154   capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (glob)
   154   capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (glob)
   155   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
   155   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
   156   _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (no-eol) (glob)
   156   _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (no-eol) (glob)
   157 
   157 
   158   $ echo '[experimental]' >> server/.hg/hgrc
   158   $ echo '[experimental]' >> server/.hg/hgrc
   159   $ echo 'evolution=!' >> server/.hg/hgrc
   159   $ echo 'evolution=!' >> server/.hg/hgrc
   160   $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
   160   $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
   161   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   161   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   176   namespaces	
   176   namespaces	
   177   obsolete	
   177   obsolete	
   178   phases	
   178   phases	
   179 
   179 
   180   $ curl -s http://localhost:$HGPORT/?cmd=hello
   180   $ curl -s http://localhost:$HGPORT/?cmd=hello
   181   capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (glob)
   181   capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (glob)
   182   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
   182   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
   183   _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (no-eol) (glob)
   183   _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (no-eol) (glob)
   184 
   184 
   185 Test obshashrange discover
   185 Test obshashrange discover
   186 ===========================================
   186 ===========================================
   187 
   187 
   188   $ cat >> $HGRCPATH <<EOF
   188   $ cat >> $HGRCPATH <<EOF