From 77bfa3d9b2268f46698ad65c70202f3ef005fbeb Mon Sep 17 00:00:00 2001 From: timeless Date: Fri, 11 Dec 2015 07:08:36 +0000 Subject: [PATCH] test-histedit-edit: test histedit with dirty repo --- tests/test-histedit-edit.t | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test-histedit-edit.t b/tests/test-histedit-edit.t index 786a7f27dc..971135a631 100644 --- a/tests/test-histedit-edit.t +++ b/tests/test-histedit-edit.t @@ -57,6 +57,13 @@ log before edit date: Thu Jan 01 00:00:00 1970 +0000 summary: a +dirty a file + $ echo a > g + $ hg histedit 177f92b77385 --commands - 2>&1 << EOF + > EOF + abort: uncommitted changes + [255] + $ echo g > g edit the history $ hg histedit 177f92b77385 --commands - 2>&1 << EOF| fixbundle