mercurial/cmdutil.py
changeset 45037 0c40d2d151cb
parent 45036 c05ac059749f
child 45072 a56ba57c837d
--- a/mercurial/cmdutil.py	Thu Jul 02 02:46:15 2020 +0200
+++ b/mercurial/cmdutil.py	Thu Jul 02 02:51:09 2020 +0200
@@ -3438,7 +3438,7 @@
         and bheads
         and node not in bheads
         and not any(
-            x.node() in bheads and x.branch() == branch for x in parents
+            p.node() in bheads and p.branch() == branch for p in parents
         )
     ):
         repo.ui.status(_(b'created new head\n'))