tests/test-simple4server.t
changeset 882 48804a8d7472
parent 881 380aa41a53a5
child 885 6cb81dbb9516
equal deleted inserted replaced
881:380aa41a53a5 882:48804a8d7472
   138   OBSEXC: pull obsolescence markers
   138   OBSEXC: pull obsolescence markers
   139   OBSEXC: looking for common markers in [23] nodes (re)
   139   OBSEXC: looking for common markers in [23] nodes (re)
   140   OBSEXC: no unknown remote markers
   140   OBSEXC: no unknown remote markers
   141   OBSEXC: DONE
   141   OBSEXC: DONE
   142 
   142 
       
   143   $ cd ..
       
   144 
       
   145 Test disabling obsolete advertisement
       
   146 ===========================================
       
   147 (used by bitbucket to select which repo use evolve)
       
   148 
       
   149   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
       
   150   bookmarks	
       
   151   phases	
       
   152   namespaces	
       
   153   obsolete	 (no-eol)
       
   154 
       
   155   $ echo '[__temporary__]' >> server/.hg/hgrc
       
   156   $ echo 'advertiseobsolete=False' >> server/.hg/hgrc
       
   157   $ $TESTDIR/killdaemons.py
       
   158   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
       
   159   $ cat hg.pid >> $DAEMON_PIDS
       
   160 
       
   161   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
       
   162   bookmarks	
       
   163   phases	
       
   164   namespaces	 (no-eol)
       
   165 
       
   166   $ echo 'advertiseobsolete=True' >> server/.hg/hgrc
       
   167   $ $TESTDIR/killdaemons.py
       
   168   $ 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
       
   170 
       
   171   $ curl --silent "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces"
       
   172   bookmarks	
       
   173   phases	
       
   174   namespaces	
       
   175   obsolete	 (no-eol)