Mercurial > public > mercurial-scm > hg
comparison hgext/phabricator.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 | 43fd1947301d |
children | bd3f03d8cc9f |
comparison
equal
deleted
inserted
replaced
41364:0132221c25cd | 41365:876494fd967d |
---|---|
275 with that tag, and the number after "D" (ex. 1234) will be returned. | 275 with that tag, and the number after "D" (ex. 1234) will be returned. |
276 | 276 |
277 The ``old node``, if not None, is guaranteed to be the last diff of | 277 The ``old node``, if not None, is guaranteed to be the last diff of |
278 corresponding Differential Revision, and exist in the repo. | 278 corresponding Differential Revision, and exist in the repo. |
279 """ | 279 """ |
280 url, token = readurltoken(repo) | |
281 unfi = repo.unfiltered() | 280 unfi = repo.unfiltered() |
282 nodemap = unfi.changelog.nodemap | 281 nodemap = unfi.changelog.nodemap |
283 | 282 |
284 result = {} # {node: (oldnode?, lastdiff?, drev)} | 283 result = {} # {node: (oldnode?, lastdiff?, drev)} |
285 toconfirm = {} # {node: (force, {precnode}, drev)} | 284 toconfirm = {} # {node: (force, {precnode}, drev)} |