tests/test-bad-pull.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 16 Oct 2019 10:14:26 +0200
changeset 43280 5d4046594d6f
parent 39723 5abc47d4ca6b
child 45858 ebee234d952a
permissions -rw-r--r--
rust-dirstatemap: remove additional lookups in dirstatemap We're copying this shortcut from the Python implementation, pretty standard for this codebase. Differential Revision: https://phab.mercurial-scm.org/D7117

#require serve

  $ 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