view tests/test-bad-pull.t @ 33454:3c20d7ef42e1

localrepo: use the 'registernew' function to set the phase of new commit
author Boris Feld <boris.feld@octobus.net>
date Tue, 11 Jul 2017 01:05:27 +0200
parents 75be14993fda
children b4b7427b5786
line wrap: on
line source

#require serve killdaemons

  $ hg clone http://localhost:$HGPORT/ copy
  abort: * (glob)
  [255]

  $ test -d copy
  [1]

  $ $PYTHON "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid
  $ cat dumb.pid >> $DAEMON_PIDS
  $ hg clone http://localhost:$HGPORT/foo copy2
  abort: HTTP Error 404: * (glob)
  [255]
  $ killdaemons.py