tests/test-topic.t
changeset 2731 d39942773163
parent 2718 b6fa7b3e13d4
child 2733 adfbb984ebbb
--- a/tests/test-topic.t	Tue Jul 11 11:24:43 2017 +0200
+++ b/tests/test-topic.t	Tue Jul 11 21:39:39 2017 +0530
@@ -33,6 +33,9 @@
       List of topics:
           'hg topics'
   
+      List of topics with their last touched time sorted according to it:
+          'hg topic --age'
+  
       The active topic (if any) will be prepended with a "*".
   
       The --verbose version of this command display various information on the
@@ -43,6 +46,7 @@
       --clear   clear active topic if any
    -r --rev REV revset of existing revisions
    -l --list    show the stack of changeset in the topic
+      --age     show when you last touched the topics
   
   (some details hidden, use --verbose to show complete help)
   $ hg topics
@@ -821,6 +825,9 @@
   t1: start on fran
   t0^ Add file delta (base)
 
+  $ hg topics --age
+   * changewut (1970-01-01)
+
   $ cd ..
 
 Testing the new config knob to forbid untopiced commit