tests/test-topic.t
changeset 3021 5f4c42d4f2e8
parent 3013 945a0989e41b
child 3023 cc740c545776
--- a/tests/test-topic.t	Sat Sep 30 22:24:24 2017 +0100
+++ b/tests/test-topic.t	Sat Sep 30 22:42:52 2017 +0100
@@ -920,22 +920,22 @@
   > EOF
   $ cat <<EOF >> $HGRCPATH
   > [experimental]
-  > enforce-topic = yes
+  > topic-mode = enforce
   > EOF
   $ touch a b c d
   $ hg add a
   $ hg ci -m "Added a"
   abort: no active topic
-  (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic)
+  (set a current topic or use '--config experimental.topic-mode=off' to commit without a topic)
   [255]
 
 (same test, checking we abort before the editor)
 
   $ EDITOR=cat hg ci -m "Added a" --edit
   abort: no active topic
-  (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic)
+  (set a current topic or use '--config experimental.topic-mode=off' to commit without a topic)
   [255]
-  $ hg ci -m "added a" --config experimental.enforce-topic=no
+  $ hg ci -m "added a" --config experimental.topic-mode=off
   $ hg log
   changeset:   0:a154386e50d1
   tag:         tip