Mercurial > hg
changeset 2528:049f930f18c1
Workaround to work with less sophisticated sed versions.
For example NetBSD sed doesn't know about '\|'.
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Tue, 27 Jun 2006 21:56:11 +0200 |
parents | c51fad25e59e |
children | 9419855309cd |
files | tests/test-globalopts |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-globalopts Tue Jun 27 09:57:06 2006 +0200 +++ b/tests/test-globalopts Tue Jun 27 21:56:11 2006 +0200 @@ -62,7 +62,7 @@ hg --cwd a --time tip 2>&1 | grep '^Time:' | sed 's/[0-9][0-9]*/x/g' echo %% --version -hg --version -q | sed 's/version \([a-f0-9+]*\|unknown\)/version xxx/' +hg --version -q | sed 's/version [^)]*/version xxx/' echo %% -h/--help hg -h