tests/test-hgweb-removed
changeset 12442 b7fd332e5ca2
parent 12441 cb1e33a41d13
child 12443 8dfdf0219494
equal deleted inserted replaced
12441:cb1e33a41d13 12442:b7fd332e5ca2
     1 #!/bin/sh
       
     2 
       
     3 echo % setting up repo
       
     4 hg init test
       
     5 cd test
       
     6 echo a > a
       
     7 hg ci -Ama
       
     8 hg rm a
       
     9 hg ci -mdel
       
    10 
       
    11 echo % set up hgweb
       
    12 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
       
    13 cat hg.pid >> $DAEMON_PIDS
       
    14 
       
    15 echo % revision
       
    16 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip'
       
    17 
       
    18 echo % diff removed file
       
    19 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'