tests/test-grep.t
changeset 41527 718e9b444d97
parent 39935 66df1059b7c0
child 41694 5d383d9636d0
--- 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 \