# HG changeset patch # User Manuel Jacob # Date 1593651069 -7200 # Node ID 0c40d2d151cb260eec7947f27671e40407b51b66 # Parent c05ac059749f670114eda3e8de60e790885836b6 cleanup: use slightly more meaningful name for temporary variable Not that it makes a big difference, but using `p` instead of `x` is clearer to me. diff -r c05ac059749f -r 0c40d2d151cb mercurial/cmdutil.py --- 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'))