Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireprotov2server.py @ 47759:d7515d29761d stable 5.9rc0
branching: merge default into stable
This mark the start of the 5.9 freeze.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 21 Jul 2021 22:52:09 +0200 |
parents | d55b71393907 |
children | 2174f54aab18 |
line wrap: on
line diff
--- a/mercurial/wireprotov2server.py Fri Jul 09 00:25:14 2021 +0530 +++ b/mercurial/wireprotov2server.py Wed Jul 21 22:52:09 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: