[PATCH 11 of 13] obsolete: allow multiple predecessors in createmarkers

Yuya Nishihara yuya at tcha.org
Sun Sep 30 12:49:16 UTC 2018


On Thu, 27 Sep 2018 19:08:43 +0200, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1537620033 -7200
> #      Sat Sep 22 14:40:33 2018 +0200
> # Node ID 84585c803b4156717b397e3753fc59e9dc3785d8
> # Parent  b3bd71652d1258de723a667a6f1210a27b86b019
> # EXP-Topic trackfold
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 84585c803b41
> obsolete: allow multiple predecessors in createmarkers

> +            if 1 < len(predecessors) and len(rel[1]) != 1:

Really minor nit: I'm not a fan of Yoda conditions. Is it common in Python
folks?



More information about the Mercurial-devel mailing list