comparison mercurial/changegroup.py @ 41365:876494fd967d

cleanup: delete lots of unused local variables These were found by IntelliJ. There are many more, but these seemed pretty safe. Differential Revision: https://phab.mercurial-scm.org/D5629
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 17 Jan 2019 09:17:12 -0800
parents dba590f27c7a
children 73a33fe625bb
comparison
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
273 # The transaction may already carry source information. In this 273 # The transaction may already carry source information. In this
274 # case we use the top level data. We overwrite the argument 274 # case we use the top level data. We overwrite the argument
275 # because we need to use the top level value (if they exist) 275 # because we need to use the top level value (if they exist)
276 # in this function. 276 # in this function.
277 srctype = tr.hookargs.setdefault('source', srctype) 277 srctype = tr.hookargs.setdefault('source', srctype)
278 url = tr.hookargs.setdefault('url', url) 278 tr.hookargs.setdefault('url', url)
279 repo.hook('prechangegroup', 279 repo.hook('prechangegroup',
280 throw=True, **pycompat.strkwargs(tr.hookargs)) 280 throw=True, **pycompat.strkwargs(tr.hookargs))
281 281
282 # write changelog data to temp files so concurrent readers 282 # write changelog data to temp files so concurrent readers
283 # will not see an inconsistent view 283 # will not see an inconsistent view