Mercurial > hg-stable
changeset 27544:a4f008612727
test-histedit-edit: test histedit with dirty repo
author | timeless <timeless@mozdev.org> |
---|---|
date | Fri, 11 Dec 2015 07:08:36 +0000 |
parents | ff0e4c8e642d |
children | a67d2e059a51 |
files | tests/test-histedit-edit.t |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-histedit-edit.t Fri Dec 11 07:08:09 2015 +0000 +++ b/tests/test-histedit-edit.t Fri Dec 11 07:08:36 2015 +0000 @@ -57,6 +57,13 @@ 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