Patchwork D7739: changegroup: drop an unused variable assignment

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

Comments

phabricator - Dec. 27, 2019, 10:01 p.m.
Closed by commit rHG6d2b5c4efdae: changegroup: drop an unused 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/D7739?vs=18955&id=18970

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7739/new/

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

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -287,8 +287,6 @@ 
         def revmap(x):
             return cl.rev(x)
 
-        changesets = 0
-
         try:
             # The transaction may already carry source information. In this
             # case we use the top level data. We overwrite the argument