From patchwork Fri Dec 27 22:01:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7736: ancestor: drop an unused local variable assignment From: phabricator X-Patchwork-Id: 44080 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Fri, 27 Dec 2019 22:01:23 +0000 Closed by commit rHG5ce6daa67658: ancestor: drop an unused local variable assignment (authored by mharbison72). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7736?vs=18952&id=18967 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7736/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7736 AFFECTED FILES mercurial/ancestor.py CHANGE DETAILS To: mharbison72, #hg-reviewers Cc: mercurial-devel diff --git a/mercurial/ancestor.py b/mercurial/ancestor.py --- a/mercurial/ancestor.py +++ b/mercurial/ancestor.py @@ -331,7 +331,7 @@ Result does not include the null revision.""" self._parentrevs = pfunc - self._initrevs = revs = [r for r in revs if r >= stoprev] + self._initrevs = [r for r in revs if r >= stoprev] self._stoprev = stoprev self._inclusive = inclusive