--- a/tests/test-trusted.py Fri Jun 04 22:54:43 2010 -0500
+++ b/tests/test-trusted.py Fri Jun 04 23:00:22 2010 -0500
@@ -180,10 +180,10 @@
try:
testui(user='abc', group='def', silent=True)
-except error.ConfigError, inst:
+except error.ParseError, inst:
print inst
try:
testui(debug=True, silent=True)
-except error.ConfigError, inst:
+except error.ParseError, inst:
print inst
--- a/tests/test-trusted.py.out Fri Jun 04 22:54:43 2010 -0500
+++ b/tests/test-trusted.py.out Fri Jun 04 23:00:22 2010 -0500
@@ -155,6 +155,6 @@
# parse error
# different user, different group
Not trusting file .hg/hgrc from untrusted user abc, group def
-Ignored: config error at .hg/hgrc:1: 'foo'
+('foo', '.hg/hgrc:1')
# same user, same group
-config error at .hg/hgrc:1: 'foo'
+('foo', '.hg/hgrc:1')