Mercurial > hg-stable
changeset 45040:0c40d2d151cb
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.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Thu, 02 Jul 2020 02:51:09 +0200 |
parents | c05ac059749f |
children | c7d109c400a4 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'))