hgext/histedit.py
changeset 36238 f574cc00831a
parent 36175 59affe7e01d4
child 36403 10de411d7207
--- a/hgext/histedit.py	Fri Feb 16 11:30:18 2018 -0800
+++ b/hgext/histedit.py	Wed Feb 14 21:34:12 2018 -0500
@@ -183,7 +183,6 @@
 
 from __future__ import absolute_import
 
-import binascii
 import errno
 import os
 
@@ -426,7 +425,7 @@
         rulehash = rule.strip().split(' ', 1)[0]
         try:
             rev = node.bin(rulehash)
-        except (TypeError, binascii.Error):
+        except TypeError:
             raise error.ParseError("invalid changeset %s" % rulehash)
         return cls(state, rev)