diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t --- a/tests/test-uncommit.t +++ b/tests/test-uncommit.t @@ -474,25 +474,10 @@ $ hg init issue5977 $ cd issue5977 $ echo 'super critical info!' > a - $ hg ci -Am 'add a' + $ echo 'foo' > b + $ hg ci -Am 'add b' adding a - $ echo 'foo' > b - $ hg add b - $ hg status - A b - $ hg unc a - note: keeping empty commit - $ cat a - super critical info! - $ hg log - changeset: 1:656ba143d384 - tag: tip - parent: -1:000000000000 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add a - - $ hg ci -Am 'add b' + adding b $ echo 'foo bar' > b $ hg unc b abort: uncommitted changes @@ -500,16 +485,10 @@ [255] $ hg unc --allow-dirty-working-copy b $ hg log - changeset: 3:30fa958635b2 + changeset: 1:0aa852043fdc tag: tip - parent: 1:656ba143d384 + parent: -1:000000000000 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: add b - changeset: 1:656ba143d384 - parent: -1:000000000000 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add a -