changeset 47012 | d55b71393907 |
parent 46927 | cdbef062c6c8 |
child 47073 | 64cd1496bb70 |
--- a/mercurial/changegroup.py Mon Apr 19 20:38:52 2021 -0400 +++ b/mercurial/changegroup.py Mon Mar 29 01:52:06 2021 +0200 @@ -15,7 +15,6 @@ from .i18n import _ from .node import ( hex, - nullid, nullrev, short, ) @@ -673,7 +672,7 @@ if delta.delta is not None: prefix, data = b'', delta.delta - elif delta.basenode == nullid: + elif delta.basenode == repo.nullid: data = delta.revision prefix = mdiff.trivialdiffheader(len(data)) else: