--- a/tests/test-grep.t Wed Jan 30 16:59:31 2019 -0800
+++ b/tests/test-grep.t Wed Jan 30 17:05:09 2019 -0800
@@ -32,6 +32,20 @@
port:4:vaportight
port:4:import/export
+simple from subdirectory
+
+ $ mkdir dir
+ $ cd dir
+ $ hg grep -r tip:0 port
+ port:4:export
+ port:4:vaportight
+ port:4:import/export
+ $ hg grep -r tip:0 port --config ui.relative-paths=yes
+ ../port:4:export
+ ../port:4:vaportight
+ ../port:4:import/export
+ $ cd ..
+
simple with color
$ hg --config extensions.color= grep --config color.mode=ansi \