equal
deleted
inserted
replaced
918 > [phases] |
918 > [phases] |
919 > publish=false |
919 > publish=false |
920 > EOF |
920 > EOF |
921 $ cat <<EOF >> $HGRCPATH |
921 $ cat <<EOF >> $HGRCPATH |
922 > [experimental] |
922 > [experimental] |
923 > enforce-topic = yes |
923 > topic-mode = enforce |
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.enforce-topic=no' to commit without a topic) |
929 (set a current topic or use '--config experimental.topic-mode=off' to commit without a topic) |
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.enforce-topic=no' to commit without a topic) |
936 (set a current topic or use '--config experimental.topic-mode=off' to commit without a topic) |
937 [255] |
937 [255] |
938 $ hg ci -m "added a" --config experimental.enforce-topic=no |
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 |
942 user: test |
942 user: test |
943 date: Thu Jan 01 00:00:00 1970 +0000 |
943 date: Thu Jan 01 00:00:00 1970 +0000 |