branch | stable |
changeset 47045 | 846920d89476 |
parent 46795 | 048beb0167a7 |
child 47046 | 497cedcb6504 |
--- a/hgext/git/gitlog.py Tue Apr 27 00:23:05 2021 -0400 +++ b/hgext/git/gitlog.py Tue Apr 27 00:26:12 2021 -0400 @@ -168,7 +168,8 @@ candidates = [ bin(x[0]) for x in self._db.execute( - 'SELECT node FROM changelog WHERE node LIKE ?', (id + b'%',) + 'SELECT node FROM changelog WHERE node LIKE ?', + (pycompat.sysstr(id + b'%'),), ) ] if nullhex.startswith(id):