tests/test-bad-pull.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Aug 2019 23:52:55 +0200
changeset 42789 bf070a59546a
parent 39707 5abc47d4ca6b
child 45839 ebee234d952a
permissions -rw-r--r--
revlog: move `nullid` early return sooner in `_revisiondata` Let us deal with the special case before we start dealing with more generic case.

#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