view tests/test-journal-exists @ 5865:e7127f669edb

transactions: don't show a backtrace when journal exists Now we simply print a message on how to recover.
author Matt Mackall <mpm@selenic.com>
date Wed, 16 Jan 2008 11:32:25 -0600
parents
children b6d8972ce339
line wrap: on
line source

#!/bin/bash

hg init
echo a > a
hg ci -Am0

touch .hg/store/journal

echo foo > a
hg ci -Am0

hg recover