Caught by PyCharm.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG5ce6daa67658: ancestor: drop an unused local variable assignment
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| hg-reviewers |
Caught by PyCharm.
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | mercurial/ancestor.py (2 lines) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| 3120d431143a | a06d795c46e6 | Matt Harbison | Dec 27 2019, 1:05 PM |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 | ||
| Closed | mharbison72 |
| iteration and membership. | iteration and membership. | ||||
| cl should be a changelog and revs should be an iterable. inclusive is | cl should be a changelog and revs should be an iterable. inclusive is | ||||
| a boolean that indicates whether revs should be included. Revs lower | a boolean that indicates whether revs should be included. Revs lower | ||||
| than stoprev will not be generated. | than stoprev will not be generated. | ||||
| Result does not include the null revision.""" | Result does not include the null revision.""" | ||||
| self._parentrevs = pfunc | 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._stoprev = stoprev | ||||
| self._inclusive = inclusive | self._inclusive = inclusive | ||||
| self._containsseen = set() | self._containsseen = set() | ||||
| self._containsiter = _lazyancestorsiter( | self._containsiter = _lazyancestorsiter( | ||||
| self._parentrevs, self._initrevs, self._stoprev, self._inclusive | self._parentrevs, self._initrevs, self._stoprev, self._inclusive | ||||
| ) | ) | ||||