tests/test-journal-exists
author Greg Ward <greg-hg@gerg.ca>
Fri, 29 May 2009 22:18:16 -0400
changeset 8673 a8066f2fd1aa
parent 5867 b6d8972ce339
child 9693 c40a1ee20aa5
permissions -rwxr-xr-x
run-tests: fix _checkhglib() so it's correct when using --with-hg. Since this makes the warning less likely, upgrade it to a "real" warning to stderr.

#!/bin/sh

hg init
echo a > a
hg ci -Am0

touch .hg/store/journal

echo foo > a
hg ci -Am0

hg recover