Patchwork D7746: rebase: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 9:18 p.m.
Message ID <differential-rev-PHID-DREV-pq54kbp2zgc4paepotb3-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44075/
State Superseded
Headers show

Comments

phabricator - Dec. 27, 2019, 9:18 p.m.
mharbison72 created this revision.
Herald added a reviewer: martinvonz.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Caught by PyCharm.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7746

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS




To: mharbison72, martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -787,7 +787,6 @@ 
                 cleanup = False
 
             if cleanup:
-                shouldupdate = False
                 if rebased:
                     strippoints = [
                         c.node() for c in repo.set(b'roots(%ld)', rebased)