tests/test-bad-pull.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 23 Jul 2020 23:58:23 +0200
changeset 45265 bd7515273fd6
parent 39723 5abc47d4ca6b
child 45858 ebee234d952a
permissions -rw-r--r--
commitctx: gather more preparation code within the lock context This is a small change that exist mostly for clarification. I am about to move a large amount of code in its own function. having all that code next to each other will make the next changeset clearer.

#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