Submitter | phabricator |
---|---|
Date | March 29, 2021, 12:06 a.m. |
Message ID | <differential-rev-PHID-DREV-3dr26jb54gxon2gip564-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48603/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/shelve.py b/mercurial/shelve.py --- a/mercurial/shelve.py +++ b/mercurial/shelve.py @@ -534,7 +534,7 @@ parent = parents[0] origbranch = wctx.branch() - if parent.node() != nullid: + if parent.rev() != nullrev: desc = b"changes to: %s" % parent.description().split(b'\n', 1)[0] else: desc = b'(changes in empty repository)'