tests/test-topic.t
changeset 2923 8c2d3c474fc6
parent 2898 3dfc88c06378
child 2929 06844693bb21
equal deleted inserted replaced
2922:66357d4d03b2 2923:8c2d3c474fc6
    17   
    17   
    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           'hg topic --rev <related revset> --clear'
    22   
       
    23         hg topic --rev <related revset> --clear
    23   
    24   
    24       Change topic on some revisions:
    25       Change topic on some revisions:
    25           'hg topic <newtopicname> --rev <related revset>'
    26   
       
    27         hg topic <newtopicname> --rev <related revset>
    26   
    28   
    27       Clear current topic:
    29       Clear current topic:
    28           'hg topic --clear'
    30   
       
    31         hg topic --clear
    29   
    32   
    30       Set current topic:
    33       Set current topic:
    31           'hg topic <topicname>'
    34   
       
    35         hg topic <topicname>
    32   
    36   
    33       List of topics:
    37       List of topics:
    34           'hg topics'
    38   
       
    39         hg topics
    35   
    40   
    36       List of topics with their last touched time sorted according to it:
    41       List of topics with their last touched time sorted according to it:
    37           'hg topic --age'
    42   
       
    43         hg topic --age
    38   
    44   
    39       The active topic (if any) will be prepended with a "*".
    45       The active topic (if any) will be prepended with a "*".
    40   
    46   
    41       The '--current' flag helps to take active topic into account. For example,
    47       The '--current' flag helps to take active topic into account. For example,
    42       if you want to set the topic on all the draft changesets to the active
    48       if you want to set the topic on all the draft changesets to the active