tests/test-journal-exists
author Christian Ebert <blacktrash@gmx.net>
Fri, 24 Oct 2008 08:16:01 +0200
changeset 7240 dac14cc9711e
parent 5867 b6d8972ce339
child 9693 c40a1ee20aa5
permissions -rwxr-xr-x
test 261a9f47b44b: grep w/ match in last line w/o newline Last character in match output omitted to avoid infinite loop.

#!/bin/sh

hg init
echo a > a
hg ci -Am0

touch .hg/store/journal

echo foo > a
hg ci -Am0

hg recover