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

login
register
mail settings
Submitter phabricator
Date March 13, 2020, 5:34 a.m.
Message ID <differential-rev-PHID-DREV-iwbf4s5tu3ouyyxraf7r-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/45764/
State Superseded
Headers show

Comments

phabricator - March 13, 2020, 5:34 a.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-fix-topology.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers
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
@@ -129,12 +129,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