D7736: ancestor: drop an unused local variable assignment
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Dec 27 17:01:23 EST 2019
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
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
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list