Submitter | phabricator |
---|---|
Date | Jan. 25, 2020, 12:18 a.m. |
Message ID | <differential-rev-PHID-DREV-yag33xcbz4wzrl3yqj25-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/44647/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4878,7 +4878,7 @@ if opts.get(b'preview'): # find nodes that are ancestors of p2 but not of p1 - p1 = repo.lookup(b'.') + p1 = repo[b'.'].node() p2 = node nodes = repo.changelog.findmissing(common=[p1], heads=[p2])