tests/test-journal-exists
author Matt Mackall <mpm@selenic.com>
Wed, 16 Jan 2008 11:32:25 -0600
changeset 5865 e7127f669edb
child 5867 b6d8972ce339
permissions -rwxr-xr-x
transactions: don't show a backtrace when journal exists Now we simply print a message on how to recover.

#!/bin/bash

hg init
echo a > a
hg ci -Am0

touch .hg/store/journal

echo foo > a
hg ci -Am0

hg recover