# HG changeset patch # User Martin von Zweigbergk # Date 1522969852 25200 # Node ID 65705fbc9c37ab5d8b439adcd353569312eb9b4d # Parent afcfdf53e4b5afa5db29c0eb98adb0258505aad9 convert: remove unused/unnecessary variable "parentctx" Differential Revision: https://phab.mercurial-scm.org/D3160 diff -r afcfdf53e4b5 -r 65705fbc9c37 hgext/convert/hg.py --- a/hgext/convert/hg.py Sat Mar 24 17:57:22 2018 +0100 +++ b/hgext/convert/hg.py Thu Apr 05 16:10:52 2018 -0700 @@ -364,10 +364,8 @@ def puttags(self, tags): try: - parentctx = self.repo[self.tagsbranch] - tagparent = parentctx.node() + tagparent = self.repo[self.tagsbranch].node() except error.RepoError: - parentctx = None tagparent = nodemod.nullid oldlines = set()