diff tests/test-topic.t @ 3021:5f4c42d4f2e8

test: update tests to use topic-mode enforce
author Boris Feld <boris.feld@octobus.net>
date Sat, 30 Sep 2017 22:42:52 +0100
parents 945a0989e41b
children cc740c545776
line wrap: on
line diff
--- 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