tests/test-topic.t
changeset 2869 b629874ccaac
parent 2868 e46b68547017
child 2888 aa5268900ba1
equal deleted inserted replaced
2868:e46b68547017 2869:b629874ccaac
    35   
    35   
    36       List of topics with their last touched time sorted according to it:
    36       List of topics with their last touched time sorted according to it:
    37           'hg topic --age'
    37           'hg topic --age'
    38   
    38   
    39       The active topic (if any) will be prepended with a "*".
    39       The active topic (if any) will be prepended with a "*".
       
    40   
       
    41       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
       
    43       topic, you can do: 'hg topic -r "draft()" --current'
    40   
    44   
    41       The --verbose version of this command display various information on the
    45       The --verbose version of this command display various information on the
    42       state of each topic.
    46       state of each topic.
    43   
    47   
    44   options:
    48   options:
   742   |  user:        test
   746   |  user:        test
   743   |  date:        Thu Jan 01 00:00:00 1970 +0000
   747   |  date:        Thu Jan 01 00:00:00 1970 +0000
   744   |  summary:     start on fran
   748   |  summary:     start on fran
   745   |
   749   |
   746 
   750 
   747   $ hg topics --rev '13::19' changewat
   751 Using the current flag
   748   switching to topic changewat
   752 
       
   753   $ hg topic changewat
       
   754   $ hg topics --rev '13::19' --current
   749   changed topic on 2 changes
   755   changed topic on 2 changes
   750 
   756 
   751   $ hg log -Gr 'draft()'
   757   $ hg log -Gr 'draft()'
   752   @  changeset:   21:56c83be6105f
   758   @  changeset:   21:56c83be6105f
   753   |  tag:         tip
   759   |  tag:         tip