changeset 44179 | 293cab97a766 |
parent 44178 | bd4f666b55a7 |
child 44194 | d4c1501225c4 |
--- a/mercurial/commands.py Fri Jan 24 16:07:42 2020 -0800 +++ b/mercurial/commands.py Fri Jan 24 15:18:19 2020 -0800 @@ -4881,7 +4881,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])