hgext/git/gitlog.py
changeset 49288 ef5f5f1cbd90
parent 49284 d44e3c45f0e4
child 49386 1e12ea7d8435
--- a/hgext/git/gitlog.py	Sun May 29 15:38:01 2022 +0200
+++ b/hgext/git/gitlog.py	Tue May 31 00:50:29 2022 +0200
@@ -534,8 +534,7 @@
                 ).fetchone()[0]
                 # This filelog is missing some data. Build the
                 # filelog, then recurse (which will always find data).
-                if pycompat.ispy3:
-                    commit = commit.decode('ascii')
+                commit = commit.decode('ascii')
                 index.fill_in_filelog(self.gitrepo, self._db, commit, gp, gn)
                 return self.parents(node)
             else: