comparison tests/test-topic.t @ 1851:67d53e8e0c1a

topic: only require obsolete support for --change
author Matt Mackall <mpm@selenic.com>
date Wed, 10 Jun 2015 17:40:50 -0500
parents 9218f91619f6
children 3084687f7994
comparison
equal deleted inserted replaced
1850:0da6bf86b718 1851:67d53e8e0c1a
17 --clear clear active topic if any 17 --clear clear active topic if any
18 --change VALUE revset of existing revisions to change topic 18 --change VALUE revset of existing revisions to change topic
19 19
20 (some details hidden, use --verbose to show complete help) 20 (some details hidden, use --verbose to show complete help)
21 $ hg topics 21 $ hg topics
22
23 Test topics interaction with evolution:
24
25 $ hg topics --config experimental.evolution=
26 $ hg topics --config experimental.evolution= --change . bob
27 abort: must have obsolete enabled to use --change
28 [255]
29
30 Create some changes:
22 31
23 $ for x in alpha beta gamma delta ; do 32 $ for x in alpha beta gamma delta ; do
24 > echo file $x >> $x 33 > echo file $x >> $x
25 > hg addremove 34 > hg addremove
26 > hg ci -m "Add file $x" 35 > hg ci -m "Add file $x"