Patchwork D6078: tests: clarify test setup test in test-uncommit.t

login
register
mail settings
Submitter phabricator
Date March 7, 2019, 12:54 p.m.
Message ID <3fd5fa6d99b18630f1b9f12db8889c96@localhost.localdomain>
Download mbox | patch
Permalink /patch/39119/
State Not Applicable
Headers show

Comments

phabricator - March 7, 2019, 12:54 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6a944bf4c43a: tests: clarify test setup test in test-uncommit.t (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6078?vs=14377&id=14383

REVISION DETAIL
  https://phab.mercurial-scm.org/D6078

AFFECTED FILES
  tests/test-uncommit.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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