# HG changeset patch # User Matt Harbison # Date 1577470699 18000 # Node ID 6d2b5c4efdae800bd21093012db5300ac249e4eb # Parent 3194cc8c8de01016ad7030c46fccf7733a4c8298 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 diff -r 3194cc8c8de0 -r 6d2b5c4efdae mercurial/changegroup.py --- 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