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
# The factotum extension permits factotum(4) to act as an# authentication agent for HTTP repositories.[extensions]factotum =