Mercurial > hg
diff hgext/convert/hg.py @ 37394:65705fbc9c37
convert: remove unused/unnecessary variable "parentctx"
Differential Revision: https://phab.mercurial-scm.org/D3160
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 05 Apr 2018 16:10:52 -0700 |
parents | e45545f7895e |
children | 810413b745ff |
line wrap: on
line diff
--- 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()