tests/test-hgweb-filelog
changeset 7612 069b29656401
parent 7300 591767e6ea7a
child 7624 f2fa1a9eede6
equal deleted inserted replaced
7569:89207edf3973 7612:069b29656401
    13 echo b > a
    13 echo b > a
    14 hg ci -Am "second a"
    14 hg ci -Am "second a"
    15 
    15 
    16 hg rm a
    16 hg rm a
    17 hg ci -m "del2 a"
    17 hg ci -m "del2 a"
       
    18 
       
    19 hg mv b c
       
    20 hg ci -m "mv b"
    18 
    21 
    19 hg log -p
    22 hg log -p
    20 
    23 
    21 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
    24 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
    22 cat hg.pid >> $DAEMON_PIDS
    25 cat hg.pid >> $DAEMON_PIDS
    34 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a')
    37 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/1/a')
    35 
    38 
    36 echo % before addition - error
    39 echo % before addition - error
    37 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a')
    40 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a')
    38 
    41 
       
    42 echo % should show base link, use spartan because it shows it
       
    43 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan')
       
    44 
    39 echo % errors
    45 echo % errors
    40 cat errors.log
    46 cat errors.log