changeset 43971:6d2b5c4efdae

changegroup: drop an unused variable assignment Caught by PyCharm. The variable is assigned again below before it is used. Differential Revision: https://phab.mercurial-scm.org/D7739
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Dec 2019 13:18:19 -0500
parents 3194cc8c8de0
children 7a2c49a3cbae
files mercurial/changegroup.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Fri Dec 27 13:13:33 2019 -0500
+++ b/mercurial/changegroup.py	Fri Dec 27 13:18:19 2019 -0500
@@ -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