Mercurial > hg
diff contrib/synthrepo.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 | 1c93e0237a24 |
children | 0bd56c291359 |
line wrap: on
line diff
--- a/contrib/synthrepo.py Mon Sep 24 14:46:37 2018 -0700 +++ b/contrib/synthrepo.py Thu Jan 17 09:17:12 2019 -0800 @@ -450,7 +450,6 @@ path = fctx.path() changes[path] = '\n'.join(lines) + '\n' for __ in xrange(pick(filesremoved)): - path = random.choice(mfk) for __ in xrange(10): path = random.choice(mfk) if path not in changes: