tests/test-hgweb-diffs
changeset 7428 fdcde929ce4f
parent 7309 e74a9173c2d7
child 8452 cb93eee1fbcd
equal deleted inserted replaced
7427:f21e3d0e335b 7428:fdcde929ce4f
    18 
    18 
    19 echo % diff removed file
    19 echo % diff removed file
    20 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'
    20 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'
    21 
    21 
    22 echo % set up hgweb with git diffs
    22 echo % set up hgweb with git diffs
    23 kill `cat hg.pid`
    23 "$TESTDIR/killdaemons.py"
    24 hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
    24 hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
    25 cat hg.pid >> $DAEMON_PIDS
    25 cat hg.pid >> $DAEMON_PIDS
    26 
    26 
    27 echo % revision
    27 echo % revision
    28 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/0'
    28 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/0'