comparison tests/test-topic.t @ 3027:b220e2f5ebd5

topic: update the topic-mode hint The hint is now shorter and reference the documentation. That should provide more concise output with more details for user who seeks it.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 01 Oct 2017 09:10:48 +0100
parents cc740c545776
children 5c8d5f980f49
comparison
equal deleted inserted replaced
3026:e9935c2c4672 3027:b220e2f5ebd5
924 > EOF 924 > EOF
925 $ touch a b c d 925 $ touch a b c d
926 $ hg add a 926 $ hg add a
927 $ hg ci -m "Added a" 927 $ hg ci -m "Added a"
928 abort: no active topic 928 abort: no active topic
929 (set a current topic or use '--config experimental.topic-mode=off' to commit without a topic) 929 (see 'hg help -e topic.topic-mode' for details)
930 [255] 930 [255]
931 931
932 (same test, checking we abort before the editor) 932 (same test, checking we abort before the editor)
933 933
934 $ EDITOR=cat hg ci -m "Added a" --edit 934 $ EDITOR=cat hg ci -m "Added a" --edit
935 abort: no active topic 935 abort: no active topic
936 (set a current topic or use '--config experimental.topic-mode=off' to commit without a topic) 936 (see 'hg help -e topic.topic-mode' for details)
937 [255] 937 [255]
938 $ hg ci -m "added a" --config experimental.topic-mode=off 938 $ hg ci -m "added a" --config experimental.topic-mode=off
939 $ hg log 939 $ hg log
940 changeset: 0:a154386e50d1 940 changeset: 0:a154386e50d1
941 tag: tip 941 tag: tip