#require serve Some tests for hgweb in an empty repository $ hg init test $ cd test $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS $ (get-with-headers.py localhost:$HGPORT 'shortlog') 200 Script output follows test: log

log

age author description
$ echo babar babar $ (get-with-headers.py localhost:$HGPORT 'log') 200 Script output follows test: log

log

age author description
$ (get-with-headers.py localhost:$HGPORT 'graph') 200 Script output follows test: revision graph

graph

      $ (get-with-headers.py localhost:$HGPORT 'file') 200 Script output follows test: 000000000000 /

      directory / @ -1:000000000000 tip

      name size permissions
      [up] drwxr-xr-x
      $ cd ..