diff hgsubversion/replay.py @ 1558:ae572c9be4e6

cleanup: remove lots of dead imports and code found by pyflakes
author Augie Fackler <raf@durin42.com>
date Sat, 24 Mar 2018 17:04:19 -0400
parents cff81f35b31e
children 8a66277136ab
line wrap: on
line diff
--- a/hgsubversion/replay.py
+++ b/hgsubversion/replay.py
@@ -5,7 +5,6 @@ from mercurial import error as hgerror
 from mercurial import revlog
 from mercurial import node
 from mercurial import context
-from mercurial import util as hgutil
 
 import compathacks
 import svnexternals
@@ -212,7 +211,6 @@ def _convert_rev(ui, meta, svn, r, tbdel
         if ha == node.nullid:
             continue
 
-        parent_ctx = meta.repo.changectx(ha)
         files = []
         def del_all_files(*args):
             raise IOError(errno.ENOENT, 'deleting all files')