Show More
@@ -43,5 +43,10 b' Test for CVE-2016-3630' | |||
|
43 | 43 | rev linkrev nodeid p1 p2 |
|
44 | 44 | 0 2 99e0332bd498 000000000000 000000000000 |
|
45 | 45 | 1 3 6674f57a23d8 99e0332bd498 000000000000 |
|
46 | $ hg debugdata a.i 1 2>&1 | egrep 'Error:.*decoded' | |
|
47 | (mercurial\.\w+\.mpatch\.)?mpatchError: patch cannot be decoded (re) | |
|
46 | ||
|
47 | >>> from mercurial import revlog, vfs | |
|
48 | >>> tvfs = vfs.vfs(b'.') | |
|
49 | >>> tvfs.options = {b'revlogv1': True} | |
|
50 | >>> rl = revlog.revlog(tvfs, b'a.i') | |
|
51 | >>> rl.revision(1) | |
|
52 | mpatchError('patch cannot be decoded',) |
General Comments 0
You need to be logged in to leave comments.
Login now