tests/test-topic.t
changeset 2733 adfbb984ebbb
parent 2731 d39942773163
child 2747 9fd6c8efda5b
equal deleted inserted replaced
2732:4b5caa509df8 2733:adfbb984ebbb
   847   $ hg add a
   847   $ hg add a
   848   $ hg ci -m "Added a"
   848   $ hg ci -m "Added a"
   849   abort: no active topic
   849   abort: no active topic
   850   (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic)
   850   (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic)
   851   [255]
   851   [255]
       
   852 
       
   853 (same test, checking we abort before the editor)
       
   854 
       
   855   $ EDITOR=cat hg ci -m "Added a" --edit
       
   856   abort: no active topic
       
   857   (set a current topic or use '--config experimental.enforce-topic=no' to commit without a topic)
       
   858   [255]
   852   $ hg ci -m "added a" --config experimental.enforce-topic=no
   859   $ hg ci -m "added a" --config experimental.enforce-topic=no
   853   $ hg log
   860   $ hg log
   854   changeset:   0:a154386e50d1
   861   changeset:   0:a154386e50d1
   855   tag:         tip
   862   tag:         tip
   856   user:        test
   863   user:        test