#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
      $ (get-with-headers.py localhost:$HGPORT 'atom-bookmarks') 200 Script output follows http://*:$HGPORT/ (glob) (glob) (glob) test: bookmarks test bookmark history Mercurial SCM 1970-01-01T00:00:00+00:00 $ cd ..