--- a/mercurial/wireprotov2server.py Mon Apr 19 20:38:52 2021 -0400
+++ b/mercurial/wireprotov2server.py Mon Mar 29 01:52:06 2021 +0200
@@ -10,10 +10,7 @@
import contextlib
from .i18n import _
-from .node import (
- hex,
- nullid,
-)
+from .node import hex
from . import (
discovery,
encoding,
@@ -950,7 +947,7 @@
if spec[b'roots']:
common = [n for n in spec[b'roots'] if clhasnode(n)]
else:
- common = [nullid]
+ common = [repo.nullid]
for n in discovery.outgoing(repo, common, spec[b'heads']).missing:
if n not in seen: