Mercurial > hg
view tests/test-hgweb-removed @ 7253:8b81d1e2dc04
bookmarks: Only save undo.bookmarks if bookmarks exist
Otherwise the command will abort when there is no .hg/bookmarks file.
author | Joel Rosdahl <joel@rosdahl.net> |
---|---|
date | Sat, 25 Oct 2008 19:05:52 +0200 |
parents | 099b4f9be5ab |
children | cb93eee1fbcd |
line wrap: on
line source
echo % setting up repo hg init test cd test echo a > a hg ci -Ama hg rm a hg ci -mdel echo % set up hgweb hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS echo % revision "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip' echo % diff removed file "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'