Patchwork D7736: ancestor: drop an unused local variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 10:01 p.m.
Message ID <a4b85bf797df060102e76308ddd3204e@localhost.localdomain>
Download mbox | patch
Permalink /patch/44080/
State Not Applicable
Headers show

Comments

phabricator - Dec. 27, 2019, 10:01 p.m.
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

Patch

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