Submitter | Pulkit Goyal |
---|---|
Date | June 20, 2017, 11:31 p.m. |
Message ID | <c4652d1f51f2069505f8.1498001487@workspace> |
Download | mbox | patch |
Permalink | /patch/21548/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -13,6 +13,7 @@ from __future__ import absolute_import +import binascii import collections import errno import hashlib @@ -1094,7 +1095,7 @@ if maybewdir: raise error.WdirUnsupported return None - except TypeError: + except (TypeError, binascii.Error): pass def lookup(self, id):