hgext/git/gitlog.py
changeset 51301 d91b55371d6f
parent 49386 1e12ea7d8435
child 51859 f4733654f144
--- a/hgext/git/gitlog.py	Tue Dec 19 22:21:31 2023 +0100
+++ b/hgext/git/gitlog.py	Tue Dec 19 22:54:52 2023 +0100
@@ -324,7 +324,7 @@
         if common is None:
             common = [sha1nodeconstants.nullid]
         if heads is None:
-            heads = self.heads()
+            heads = [self.node(r) for r in self.headrevs()]
 
         common = [self.rev(n) for n in common]
         heads = [self.rev(n) for n in heads]