Mercurial > public > mercurial-scm > hg-stable
comparison hgext/fastannotate/support.py @ 41387: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 | 303dae0136b0 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
41386:0132221c25cd | 41387:876494fd967d |
---|---|
107 return orig(self, follow=follow, skiprevs=skiprevs, | 107 return orig(self, follow=follow, skiprevs=skiprevs, |
108 diffopts=diffopts) | 108 diffopts=diffopts) |
109 | 109 |
110 def _remotefctxannotate(orig, self, follow=False, skiprevs=None, diffopts=None): | 110 def _remotefctxannotate(orig, self, follow=False, skiprevs=None, diffopts=None): |
111 # skipset: a set-like used to test if a fctx needs to be downloaded | 111 # skipset: a set-like used to test if a fctx needs to be downloaded |
112 skipset = None | |
113 with context.fctxannotatecontext(self, follow, diffopts) as ac: | 112 with context.fctxannotatecontext(self, follow, diffopts) as ac: |
114 skipset = revmap.revmap(ac.revmappath) | 113 skipset = revmap.revmap(ac.revmappath) |
115 return orig(self, follow, skiprevs=skiprevs, diffopts=diffopts, | 114 return orig(self, follow, skiprevs=skiprevs, diffopts=diffopts, |
116 prefetchskip=skipset) | 115 prefetchskip=skipset) |
117 | 116 |