changeset 44558:ea40fea992e0

tests: simplify test-fix-topology.t slightly by using a `(case !)` Differential Revision: https://phab.mercurial-scm.org/D8283
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Mar 2020 16:25:22 -0700
parents 254c5f71e2df
children 40f4a75938ba
files tests/test-fix-topology.t
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fix-topology.t	Thu Mar 12 14:50:00 2020 -0700
+++ b/tests/test-fix-topology.t	Thu Mar 12 16:25:22 2020 -0700
@@ -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