Mercurial > public > mercurial-scm > hg
diff tests/test-grep.t @ 41513:718e9b444d97
grep: respect ui.relative-paths
Differential Revision: https://phab.mercurial-scm.org/D5777
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 30 Jan 2019 17:05:09 -0800 |
parents | 66df1059b7c0 |
children | 5d383d9636d0 |
line wrap: on
line diff
--- 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 \