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()