Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8141:e40b629bedd1 | 8142:912bfef12ba6 |
---|---|
58 baseurl = http://test/ | 58 baseurl = http://test/ |
59 EOF | 59 EOF |
60 | 60 |
61 echo % fail for config file is missing | 61 echo % fail for config file is missing |
62 hg --cwd b rollback | 62 hg --cwd b rollback |
63 hg --cwd b pull ../a 2>&1 | grep 'unable to open.*\.notify\.conf' > /dev/null && echo pull failed | 63 hg --cwd b pull ../a 2>&1 | grep 'error.*\.notify\.conf' > /dev/null && echo pull failed |
64 | 64 |
65 touch "$HGTMP/.notify.conf" | 65 touch "$HGTMP/.notify.conf" |
66 | 66 |
67 echo % pull | 67 echo % pull |
68 hg --cwd b rollback | 68 hg --cwd b rollback |