[Updated] D10525: git: use the correct type for stopping changelog.revs()

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Mon May 3 14:07:36 UTC 2021


Closed by commit rHG2a77c817d451: git: use the correct type for stopping changelog.revs() (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10525?vs=27177&id=27433

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10525/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D10525

AFFECTED FILES
  hgext/git/gitlog.py

CHANGE DETAILS

diff --git a/hgext/git/gitlog.py b/hgext/git/gitlog.py
--- a/hgext/git/gitlog.py
+++ b/hgext/git/gitlog.py
@@ -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 <= ? '



To: mharbison72, durin42, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20210503/e1cfc43a/attachment.html>


More information about the Mercurial-patches mailing list