comparison tests/test-topic.t @ 2994:1e8ac0fcd6b7

topics: spell out topics completely in help
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 25 Sep 2017 03:29:45 +0530
parents 725b660d9886
children dbc896a7a1c3
comparison
equal deleted inserted replaced
2993:725b660d9886 2994:1e8ac0fcd6b7
18 View current topic, set current topic, change topic for a set of revisions, or 18 View current topic, set current topic, change topic for a set of revisions, or
19 see all topics. 19 see all topics.
20 20
21 Clear topic on existing topiced revisions: 21 Clear topic on existing topiced revisions:
22 22
23 hg topic --rev <related revset> --clear 23 hg topics --rev <related revset> --clear
24 24
25 Change topic on some revisions: 25 Change topic on some revisions:
26 26
27 hg topic <newtopicname> --rev <related revset> 27 hg topics <newtopicname> --rev <related revset>
28 28
29 Clear current topic: 29 Clear current topic:
30 30
31 hg topic --clear 31 hg topics --clear
32 32
33 Set current topic: 33 Set current topic:
34 34
35 hg topic <topicname> 35 hg topics <topicname>
36 36
37 List of topics: 37 List of topics:
38 38
39 hg topics 39 hg topics
40 40
41 List of topics sorted according to their last touched time displaying last 41 List of topics sorted according to their last touched time displaying last
42 touched time and the user who last touched the topic: 42 touched time and the user who last touched the topic:
43 43
44 hg topic --age 44 hg topics --age
45 45
46 The active topic (if any) will be prepended with a "*". 46 The active topic (if any) will be prepended with a "*".
47 47
48 The '--current' flag helps to take active topic into account. For example, 48 The '--current' flag helps to take active topic into account. For example,
49 if you want to set the topic on all the draft changesets to the active 49 if you want to set the topic on all the draft changesets to the active
50 topic, you can do: 'hg topic -r "draft()" --current' 50 topic, you can do: 'hg topics -r "draft()" --current'
51 51
52 The --verbose version of this command display various information on the 52 The --verbose version of this command display various information on the
53 state of each topic. 53 state of each topic.
54 54
55 options ([+] can be repeated): 55 options ([+] can be repeated):