tests/test-obsolete.t
changeset 25472 4d2b9b304ad0
parent 25382 6084926366b9
child 25474 8c14f87bd0ae
equal deleted inserted replaced
25470:378a8e700e02 25472:4d2b9b304ad0
   656   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   656   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   657   $ cat hg.pid >> $DAEMON_PIDS
   657   $ cat hg.pid >> $DAEMON_PIDS
   658 
   658 
   659 check changelog view
   659 check changelog view
   660 
   660 
   661   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'shortlog/'
   661   $ get-with-headers.py --headeronly localhost:$HGPORT 'shortlog/'
   662   200 Script output follows
   662   200 Script output follows
   663 
   663 
   664 check graph view
   664 check graph view
   665 
   665 
   666   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph'
   666   $ get-with-headers.py --headeronly localhost:$HGPORT 'graph'
   667   200 Script output follows
   667   200 Script output follows
   668 
   668 
   669 check filelog view
   669 check filelog view
   670 
   670 
   671   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar'
   671   $ get-with-headers.py --headeronly localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar'
   672   200 Script output follows
   672   200 Script output follows
   673 
   673 
   674   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/68'
   674   $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/68'
   675   200 Script output follows
   675   200 Script output follows
   676   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67'
   676   $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/67'
   677   404 Not Found
   677   404 Not Found
   678   [1]
   678   [1]
   679 
   679 
   680 check that web.view config option:
   680 check that web.view config option:
   681 
   681 
   682   $ "$TESTDIR/killdaemons.py" hg.pid
   682   $ killdaemons.py hg.pid
   683   $ cat >> .hg/hgrc << EOF
   683   $ cat >> .hg/hgrc << EOF
   684   > [web]
   684   > [web]
   685   > view=all
   685   > view=all
   686   > EOF
   686   > EOF
   687   $ wait
   687   $ wait
   688   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   688   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   689   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67'
   689   $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/67'
   690   200 Script output follows
   690   200 Script output follows
   691   $ "$TESTDIR/killdaemons.py" hg.pid
   691   $ killdaemons.py hg.pid
   692 
   692 
   693 Checking _enable=False warning if obsolete marker exists
   693 Checking _enable=False warning if obsolete marker exists
   694 
   694 
   695   $ echo '[experimental]' >> $HGRCPATH
   695   $ echo '[experimental]' >> $HGRCPATH
   696   $ echo "evolution=" >> $HGRCPATH
   696   $ echo "evolution=" >> $HGRCPATH
   754   comparing with http://localhost:$HGPORT/
   754   comparing with http://localhost:$HGPORT/
   755   searching for changes
   755   searching for changes
   756   no changes found
   756   no changes found
   757   [1]
   757   [1]
   758 
   758 
   759   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   759   $ killdaemons.py $DAEMON_PIDS
   760 
   760 
   761 #endif
   761 #endif
   762 
   762 
   763 This test issue 3814
   763 This test issue 3814
   764 
   764 
   883   $ hg debugobsolete `hg log -r1 -T'{node}'` `hg log -r2 -T'{node}'`
   883   $ hg debugobsolete `hg log -r1 -T'{node}'` `hg log -r2 -T'{node}'`
   884 
   884 
   885   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   885   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
   886   $ cat hg.pid >> $DAEMON_PIDS
   886   $ cat hg.pid >> $DAEMON_PIDS
   887 
   887 
   888   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/1'
   888   $ get-with-headers.py --headeronly localhost:$HGPORT 'rev/1'
   889   404 Not Found
   889   404 Not Found
   890   [1]
   890   [1]
   891   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'file/tip/bar'
   891   $ get-with-headers.py --headeronly localhost:$HGPORT 'file/tip/bar'
   892   200 Script output follows
   892   200 Script output follows
   893   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'annotate/tip/bar'
   893   $ get-with-headers.py --headeronly localhost:$HGPORT 'annotate/tip/bar'
   894   200 Script output follows
   894   200 Script output follows
   895 
   895 
   896   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   896   $ killdaemons.py $DAEMON_PIDS
   897 
   897 
   898 #endif
   898 #endif
   899 
   899 
   900 Test heads computation on pending index changes with obsolescence markers
   900 Test heads computation on pending index changes with obsolescence markers
   901   $ cd ..
   901   $ cd ..