Mercurial > hg-stable
changeset 43973:5ce6daa67658
ancestor: drop an unused local variable assignment
Caught by PyCharm.
Differential Revision: https://phab.mercurial-scm.org/D7736
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 13:05:22 -0500 |
parents | 6c201f0d17b1 |
children | 68b09ebf1c13 |
files | mercurial/ancestor.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ancestor.py Fri Dec 27 02:44:00 2019 -0500 +++ b/mercurial/ancestor.py Fri Dec 27 13:05:22 2019 -0500 @@ -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