Submitter | phabricator |
---|---|
Date | April 8, 2018, 4:03 p.m. |
Message ID | <differential-rev-PHID-DREV-mudhys7cpec7np5tpo5e-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/30570/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3587,7 +3587,7 @@ if opts.get('preview'): # find nodes that are ancestors of p2 but not of p1 p1 = repo.lookup('.') - p2 = repo.lookup(node) + p2 = node nodes = repo.changelog.findmissing(common=[p1], heads=[p2]) displayer = logcmdutil.changesetdisplayer(ui, repo, opts)