comparison 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
comparison
equal deleted inserted replaced
1557:dd409375c261 1558:ae572c9be4e6
3 3
4 from mercurial import error as hgerror 4 from mercurial import error as hgerror
5 from mercurial import revlog 5 from mercurial import revlog
6 from mercurial import node 6 from mercurial import node
7 from mercurial import context 7 from mercurial import context
8 from mercurial import util as hgutil
9 8
10 import compathacks 9 import compathacks
11 import svnexternals 10 import svnexternals
12 import util 11 import util
13 12
210 209
211 ha = meta.get_parent_revision(rev.revnum, branch) 210 ha = meta.get_parent_revision(rev.revnum, branch)
212 if ha == node.nullid: 211 if ha == node.nullid:
213 continue 212 continue
214 213
215 parent_ctx = meta.repo.changectx(ha)
216 files = [] 214 files = []
217 def del_all_files(*args): 215 def del_all_files(*args):
218 raise IOError(errno.ENOENT, 'deleting all files') 216 raise IOError(errno.ENOENT, 'deleting all files')
219 217
220 # True here means nuke all files. This happens when you 218 # True here means nuke all files. This happens when you