tests/test-http.t
changeset 34483 a6d95a8b7243
parent 34394 fffd3369aa83
child 34661 eb586ed5d8ce
equal deleted inserted replaced
34482:75de5d456b60 34483:a6d95a8b7243
   343   $ cat error.log
   343   $ cat error.log
   344 
   344 
   345 check abort error reporting while pulling/cloning
   345 check abort error reporting while pulling/cloning
   346 
   346 
   347   $ $RUNTESTDIR/killdaemons.py
   347   $ $RUNTESTDIR/killdaemons.py
   348   $ hg -R test serve -p $HGPORT -d --pid-file=hg3.pid -E error.log --config extensions.crash=${TESTDIR}/crashgetbundler.py
   348   $ hg serve -R test -p $HGPORT -d --pid-file=hg3.pid -E error.log --config extensions.crash=${TESTDIR}/crashgetbundler.py
   349   $ cat hg3.pid >> $DAEMON_PIDS
   349   $ cat hg3.pid >> $DAEMON_PIDS
   350   $ hg clone http://localhost:$HGPORT/ abort-clone
   350   $ hg clone http://localhost:$HGPORT/ abort-clone
   351   requesting all changes
   351   requesting all changes
   352   remote: abort: this is an exercise
   352   remote: abort: this is an exercise
   353   abort: pull failed on remote
   353   abort: pull failed on remote
   354   [255]
   354   [255]
   355   $ cat error.log
   355   $ cat error.log
   356 
   356 
   357 disable pull-based clones
   357 disable pull-based clones
   358 
   358 
   359   $ hg -R test serve -p $HGPORT1 -d --pid-file=hg4.pid -E error.log --config server.disablefullbundle=True
   359   $ hg serve -R test -p $HGPORT1 -d --pid-file=hg4.pid -E error.log --config server.disablefullbundle=True
   360   $ cat hg4.pid >> $DAEMON_PIDS
   360   $ cat hg4.pid >> $DAEMON_PIDS
   361   $ hg clone http://localhost:$HGPORT1/ disable-pull-clone
   361   $ hg clone http://localhost:$HGPORT1/ disable-pull-clone
   362   requesting all changes
   362   requesting all changes
   363   remote: abort: server has pull-based clones disabled
   363   remote: abort: server has pull-based clones disabled
   364   abort: pull failed on remote
   364   abort: pull failed on remote