tests/test-bad-pull.t
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 12 Nov 2020 09:53:14 -0800
changeset 45863 3175b0e0058b
parent 45858 ebee234d952a
permissions -rw-r--r--
errors: use InputError for errors about bad paths Differential Revision: https://phab.mercurial-scm.org/D9326

#require serve

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

  $ 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)
  [100]
  $ killdaemons.py