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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Mar 13 17:12:33 UTC 2020


martinvonz updated this revision to Diff 20770.

REPOSITORY
  rHG Mercurial

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

BRANCH
  default

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

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



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


More information about the Mercurial-devel mailing list