Mercurial > public > mercurial-scm > hg
diff hgext/blackbox.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 | 49d48489a16b |
children | bd3f03d8cc9f |
line wrap: on
line diff
--- a/hgext/blackbox.py Mon Sep 24 14:46:37 2018 -0700 +++ b/hgext/blackbox.py Thu Jan 17 09:17:12 2019 -0800 @@ -118,7 +118,6 @@ date = dateutil.datestr(default, ui.config('blackbox', 'date-format')) user = procutil.getuser() pid = '%d' % procutil.getpid() - rev = '(unknown)' changed = '' ctx = self._repo[None] parents = ctx.parents()