diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t --- a/tests/test-uncommit.t +++ b/tests/test-uncommit.t @@ -482,10 +482,6 @@ A b $ hg unc a note: keeping empty commit - $ hg unc b - abort: uncommitted changes - (requires --allow-dirty-working-copy to uncommit) - [255] $ cat a super critical info! $ hg log @@ -498,6 +494,10 @@ $ hg ci -Am 'add b' $ echo 'foo bar' > b + $ hg unc b + abort: uncommitted changes + (requires --allow-dirty-working-copy to uncommit) + [255] $ hg unc --allow-dirty-working-copy b $ hg log changeset: 3:30fa958635b2