diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-journal-exists	Wed Jan 16 11:32:25 2008 -0600
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+hg init
+echo a > a
+hg ci -Am0
+
+touch .hg/store/journal
+
+echo foo > a
+hg ci -Am0
+
+hg recover