hgext/git/gitutil.py
changeset 49298 76f56d69a457
parent 48966 6000f5b25c9b
child 49308 227124098e14
--- a/hgext/git/gitutil.py	Tue May 31 01:06:29 2022 +0200
+++ b/hgext/git/gitutil.py	Tue May 31 01:16:41 2022 +0200
@@ -44,8 +44,6 @@
 def fromgitnode(n):
     """Opposite of togitnode."""
     assert len(n) == 40
-    if pycompat.ispy3:
-        return bin(n.encode('ascii'))
     return bin(n)