pypy: fix overeager pattern matching on mpatchError
authorMaciej Fijalkowski <fijall@gmail.com>
Tue, 05 Apr 2016 10:59:46 +0300
changeset 28783 d9179856d732
parent 28782 f736f98e16ca
child 28784 09750b1231c2
pypy: fix overeager pattern matching on mpatchError Pypy have difference in error reporting.
tests/test-revlog.t
--- a/tests/test-revlog.t	Thu Mar 31 02:05:28 2016 +0000
+++ b/tests/test-revlog.t	Tue Apr 05 10:59:46 2016 +0300
@@ -12,4 +12,4 @@
        0         0      19     -1       2 99e0332bd498 000000000000 000000000000
        1        19      12      0       3 6674f57a23d8 99e0332bd498 000000000000
   $ hg debugdata a.i 1 2>&1 | egrep 'Error:.*decoded'
-  mercurial.mpatch.mpatchError: patch cannot be decoded
+  (mercurial.mpatch.)?mpatchError: patch cannot be decoded (re)