tests/test-grep.t
changeset 37133 a2a6755a3def
parent 36495 eafd380fe1b8
child 37447 067e8d1178a2
--- a/tests/test-grep.t	Mon Mar 26 23:02:50 2018 -0400
+++ b/tests/test-grep.t	Tue Mar 27 20:21:30 2018 +0530
@@ -330,6 +330,17 @@
   color:3:-:red
   color:1:+:red
 
+Issue3885: test that changing revision order does not alter the
+revisions printed, just their order.
+
+  $ hg grep --all red -r "all()"
+  color:1:+:red
+  color:3:-:red
+
+  $ hg grep --all red -r "reverse(all())"
+  color:3:-:red
+  color:1:+:red
+
   $ cd ..
 
   $ hg init a