comparison hgext/absorb.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 c146651a78e1
children 8843bc1fc14d
comparison
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
724 memworkingcopy = self._getnewfilecontents(ctx) 724 memworkingcopy = self._getnewfilecontents(ctx)
725 if not memworkingcopy and not lastcommitted: 725 if not memworkingcopy and not lastcommitted:
726 # nothing changed, nothing commited 726 # nothing changed, nothing commited
727 nextp1 = ctx 727 nextp1 = ctx
728 continue 728 continue
729 msg = ''
730 if self._willbecomenoop(memworkingcopy, ctx, nextp1): 729 if self._willbecomenoop(memworkingcopy, ctx, nextp1):
731 # changeset is no longer necessary 730 # changeset is no longer necessary
732 self.replacemap[ctx.node()] = None 731 self.replacemap[ctx.node()] = None
733 msg = _('became empty and was dropped') 732 msg = _('became empty and was dropped')
734 else: 733 else: