tests/test-log.t
changeset 29814 cbf9984a7957
parent 28627 d7af9b4ae7dd
child 30016 2963fba2d18a
--- a/tests/test-log.t	Wed Aug 17 13:43:13 2016 -0500
+++ b/tests/test-log.t	Thu Aug 18 17:25:10 2016 +0200
@@ -717,6 +717,19 @@
   date:        Thu Jan 01 00:00:01 1970 +0000
   summary:     b2
   
+log -r "follow('set:grep(b2)', 4)"
+
+  $ hg up -qC 0
+  $ hg log -r "follow('set:grep(b2)', 4)"
+  changeset:   4:ddb82e70d1a1
+  tag:         tip
+  parent:      0:67e992f2c4f3
+  user:        test
+  date:        Thu Jan 01 00:00:01 1970 +0000
+  summary:     b2
+  
+  $ hg up -qC 4
+
 log -f -r null
 
   $ hg log -f -r null