diff -r 2a77c817d451 -r ce24a00fe7f0 hgext/git/gitlog.py --- a/hgext/git/gitlog.py Tue Apr 27 17:11:55 2021 -0400 +++ b/hgext/git/gitlog.py Tue Apr 27 17:54:08 2021 -0400 @@ -68,7 +68,8 @@ def hasnode(self, n): t = self._db.execute( - 'SELECT node FROM changelog WHERE node = ?', (n,) + 'SELECT node FROM changelog WHERE node = ?', + (pycompat.sysstr(n),), ).fetchone() return t is not None