Patchwork D8283: tests: simplify test-fix-topology.t slightly by using a `(case !)`

login
register
mail settings
Submitter phabricator
Date March 14, 2020, 9:32 a.m.
Message ID <b7fd8db28dbff6e33b3afa767a074f66@localhost.localdomain>
Download mbox | patch
Permalink /patch/45792/
State Not Applicable
Headers show

Comments

phabricator - March 14, 2020, 9:32 a.m.
Closed by commit rHGea40fea992e0: tests: simplify test-fix-topology.t slightly by using a `(case !)` (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8283?vs=20770&id=20798

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8283/new/

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

AFFECTED FILES
  tests/test-fix-topology.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-fix-topology.t b/tests/test-fix-topology.t
--- a/tests/test-fix-topology.t
+++ b/tests/test-fix-topology.t
@@ -128,12 +128,8 @@ 
 
 Fix all but the root revision and its four children.
 
-#if obsstore-on
   $ hg fix -r '2|4|7|8|9' --working-dir
-#else
-  $ hg fix -r '2|4|7|8|9' --working-dir
-  saved backup bundle to * (glob)
-#endif
+  saved backup bundle to * (glob) (obsstore-off !)
 
 The five revisions remain, but the other revisions were fixed and replaced. All
 parent pointers have been accurately set to reproduce the previous topology