tests/test-topic.t
changeset 2993 725b660d9886
parent 2988 62201935e1a7
child 2994 1e8ac0fcd6b7
--- a/tests/test-topic.t	Mon Sep 25 03:06:37 2017 +0530
+++ b/tests/test-topic.t	Mon Sep 25 03:23:06 2017 +0530
@@ -38,7 +38,8 @@
   
         hg topics
   
-      List of topics with their last touched time sorted according to it:
+      List of topics sorted according to their last touched time displaying last
+      touched time and the user who last touched the topic:
   
         hg topic --age
   
@@ -904,7 +905,7 @@
   t0^ Add file delta (base)
 
   $ hg topics --age
-   * changewut (1970-01-01)
+   * changewut (1970-01-01 by test)
 
   $ cd ..
 
@@ -951,24 +952,24 @@
 
   $ hg add b
   $ hg topic topic1990
-  $ hg ci -m "Added b" --config devel.default-date="631152000 0"
+  $ hg ci -m "Added b" --config devel.default-date="631152000 0" --user "foo"
   active topic 'topic1990' grew its first changeset
   $ hg add c
   $ hg topic topic2010
-  $ hg ci -m "Added c" --config devel.default-date="1262304000 0"
+  $ hg ci -m "Added c" --config devel.default-date="1262304000 0" --user "bar"
   active topic 'topic2010' grew its first changeset
 
   $ hg log -G
-  @  changeset:   3:9048b194797d
+  @  changeset:   3:76b16af75125
   |  tag:         tip
   |  topic:       topic2010
-  |  user:        test
+  |  user:        bar
   |  date:        Fri Jan 01 00:00:00 2010 +0000
   |  summary:     Added c
   |
-  o  changeset:   2:186d493c7f8d
+  o  changeset:   2:bba5bde53608
   |  topic:       topic1990
-  |  user:        test
+  |  user:        foo
   |  date:        Mon Jan 01 00:00:00 1990 +0000
   |  summary:     Added b
   |
@@ -985,17 +986,17 @@
    * topic2010
 
   $ hg topics --age
-   * topic2010 (2010-01-01)
-     topic1990 (1990-01-01)
-     topic1970 (1970-01-01)
+   * topic2010 (2010-01-01 by bar)
+     topic1990 (1990-01-01 by foo)
+     topic1970 (1970-01-01 by test)
 
   $ hg up topic1970
   switching to topic topic1970
   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
 
   $ hg topics --age
-     topic2010 (2010-01-01)
-     topic1990 (1990-01-01)
-   * topic1970 (1970-01-01)
+     topic2010 (2010-01-01 by bar)
+     topic1990 (1990-01-01 by foo)
+   * topic1970 (1970-01-01 by test)
 
   $ cd ..