Mercurial > public > mercurial-scm > hg
comparison mercurial/hg.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 | 44a51c1c8e17 |
children | bc843e251134 |
comparison
equal
deleted
inserted
replaced
41364:0132221c25cd | 41365:876494fd967d |
---|---|
280 | 280 |
281 The passed repository object is not usable after this function is | 281 The passed repository object is not usable after this function is |
282 called. | 282 called. |
283 """ | 283 """ |
284 | 284 |
285 destlock = lock = None | 285 destlock = None |
286 lock = repo.lock() | 286 lock = repo.lock() |
287 try: | 287 try: |
288 # we use locks here because if we race with commit, we | 288 # we use locks here because if we race with commit, we |
289 # can end up with extra data in the cloned revlogs that's | 289 # can end up with extra data in the cloned revlogs that's |
290 # not pointed to by changesets, thus causing verify to | 290 # not pointed to by changesets, thus causing verify to |