git: use the correct type for stopping changelog.revs()
The `tip` function returns a binary node, but the database is expecting an int.
Differential Revision: https://phab.mercurial-scm.org/D10525
--- a/hgext/git/gitlog.py Tue Apr 27 16:58:59 2021 -0400
+++ b/hgext/git/gitlog.py Tue Apr 27 17:11:55 2021 -0400
@@ -147,7 +147,7 @@
def revs(self, start=0, stop=None):
if stop is None:
- stop = self.tip()
+ stop = self.tiprev()
t = self._db.execute(
'SELECT rev FROM changelog '
'WHERE rev >= ? AND rev <= ? '