Mercurial > public > mercurial-scm > hg-stable
diff tests/test-notify @ 8142:912bfef12ba6
ui: fold readsections into readconfig
readconfig now reads only single files
readconfig takes an optional list of sections
readconfig trusts files we're looking for sections in
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 23 Apr 2009 15:40:10 -0500 |
parents | 3cc74ee75b0d |
children | 3b65c3c3cc8d |
line wrap: on
line diff
--- a/tests/test-notify Thu Apr 23 15:40:10 2009 -0500 +++ b/tests/test-notify Thu Apr 23 15:40:10 2009 -0500 @@ -60,7 +60,7 @@ echo % fail for config file is missing hg --cwd b rollback -hg --cwd b pull ../a 2>&1 | grep 'unable to open.*\.notify\.conf' > /dev/null && echo pull failed +hg --cwd b pull ../a 2>&1 | grep 'error.*\.notify\.conf' > /dev/null && echo pull failed touch "$HGTMP/.notify.conf"