changeset 44478 | 6d953b3fc2bd |
parent 44477 | ad718271a9eb |
child 44480 | f19491aae641 |
--- a/hgext/git/gitlog.py Tue Feb 11 00:44:59 2020 -0500 +++ b/hgext/git/gitlog.py Fri Mar 06 14:14:05 2020 -0800 @@ -170,7 +170,7 @@ matches = int( self._db.execute( 'SELECT COUNT(*) FROM changelog WHERE node LIKE ?', - (pycompat.sysstr(nodehex + b'%'),), + (pycompat.sysstr(candidate + b'%'),), ).fetchone()[0] ) if matches == 1: