mercurial/commands.py
changeset 37479 d665b4ea7d4c
parent 37438 7b7ca9ba2de5
child 37498 aacfca6f9767
--- a/mercurial/commands.py	Sun Apr 08 22:56:16 2018 -0400
+++ b/mercurial/commands.py	Sun Apr 08 08:41:58 2018 -0700
@@ -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)