Mercurial > hg
diff tests/test-remotefilelog-histpack.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 | abac73eedd4d |
children | 2372284d9457 |
line wrap: on
line diff
--- a/tests/test-remotefilelog-histpack.py Mon Sep 24 14:46:37 2018 -0700 +++ b/tests/test-remotefilelog-histpack.py Thu Jan 17 09:17:12 2019 -0800 @@ -161,7 +161,7 @@ pack = self.createPack(revisions) # Verify the pack contents - for (filename, node), (p1, p2, lastnode) in allentries.items(): + for (filename, node) in allentries: ancestors = pack.getancestors(filename, node) self.assertEqual(ancestorcounts[(filename, node)], len(ancestors))