diff hgext/git/gitlog.py @ 44951:83e41b73d115

git: add debug logging when there's a mismatch in the cached heads list The dag rebuild can be expensive, so let's try and avoid bugs where it transparently rebuilds all the time for no reason. This would have prevented the issue fixed in D8622. Differential Revision: https://phab.mercurial-scm.org/D8625
author Augie Fackler <augie@google.com>
date Tue, 09 Jun 2020 17:13:26 -0400
parents 3e09d22a0bf5
children 8ddbb75bad09
line wrap: on
line diff
--- a/hgext/git/gitlog.py	Wed Jun 10 13:02:39 2020 +0200
+++ b/hgext/git/gitlog.py	Tue Jun 09 17:13:26 2020 -0400
@@ -399,7 +399,7 @@
             'refs/hg/internal/latest-commit', oid, force=True
         )
         # Reindex now to pick up changes. We omit the progress
-        # callback because this will be very quick.
+        # and log callbacks because this will be very quick.
         index._index_repo(self.gitrepo, self._db)
         return oid.raw