# HG changeset patch # User timeless # Date 2015-12-11 07:08:36 # Node ID a4f00861272700379b03b9606e1f194bcb8f2a1c # Parent ff0e4c8e642d58896f4edd9457b83c9ab8c0f680 test-histedit-edit: test histedit with dirty repo diff --git a/tests/test-histedit-edit.t b/tests/test-histedit-edit.t --- 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