diff tests/test-topic.t @ 5533:044ce00dfa88 stable

tests: use the modern config setting to enable evolution in topic tests When adding `hg pick --config extensions.evolve=` to test-topic-dest.t to investigate issue6406, it failed with `abort: unknown command 'pick'`. This is a manifestation of issue6039. I made several attempts at determining the root cause, and while I'm still worried about *why* a config setting can cause the extension to fail to fully initialize, there are some topic bugs to cleanup and I don't feel like spending more time on this.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 05 Sep 2020 00:07:01 -0400
parents 95478db35f88
children 98e2613d797d
line wrap: on
line diff
--- a/tests/test-topic.t	Tue Sep 08 11:24:38 2020 +0800
+++ b/tests/test-topic.t	Sat Sep 05 00:07:01 2020 -0400
@@ -200,8 +200,13 @@
 
 Test topics interaction with evolution:
 
-  $ hg topics --config experimental.evolution=
-  $ hg topics --config experimental.evolution= --rev . bob
+  $ hg topics --config experimental.evolution= \
+  >           --config experimental.evolution.createmarkers=0 \
+  >           --config experimental.evolution.exchange=0
+  $ hg topics --config experimental.evolution= \
+  >           --config experimental.evolution.createmarkers=0 \
+  >           --config experimental.evolution.exchange=0 \
+  >           --rev . bob
   abort: must have obsolete enabled to change topics
   [255]