diff -r ca0d02222d6a -r b2607267236d tests/test-record --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-record Tue Jul 31 16:28:05 2007 -0700 @@ -0,0 +1,204 @@ +#!/bin/sh + +echo "[ui]" >> $HGRCPATH +echo "interactive=true" >> $HGRCPATH +echo "[extensions]" >> $HGRCPATH +echo "record=" >> $HGRCPATH + +echo % help + +hg help record + +hg init a +cd a + +echo % select no files + +touch empty-rw +hg add empty-rw +hg record empty-rw<> plain +done + +hg add plain +hg record -d '7 0' -m plain plain<> plain +hg record -d '8 0' -m end plain <> plain +hg record -d '9 0' -m noeol plain <> plain +hg record -d '10 0' -m eol plain <> plain +done + +hg record -d '10 0' -m begin-and-end plain <> plain +done + +echo % record end + +hg record -d '11 0' -m end-only plain <> plain +done + +echo % record end + +hg record --traceback -d '13 0' -m end-again plain<> plain +done + +echo % record beginning, middle + +hg record -d '14 0' -m middle-only plain <