comparison fetch_command.py @ 176:c4115b3918e9

Really delete the .hgsvnexternals file when explicitely removed
author Patrick Mezard <pmezard@gmail.com>
date Fri, 02 Jan 2009 15:54:06 -0600
parents f80132c5fea5
children a336e3e82648
comparison
equal deleted inserted replaced
175:2412800b1258 176:c4115b3918e9
556 if externals is not None: 556 if externals is not None:
557 files_touched.append('.hgsvnexternals') 557 files_touched.append('.hgsvnexternals')
558 558
559 def filectxfn(repo, memctx, path): 559 def filectxfn(repo, memctx, path):
560 if path == '.hgsvnexternals': 560 if path == '.hgsvnexternals':
561 if not externals:
562 raise IOError()
561 return context.memfilectx(path=path, data=externals.write(), 563 return context.memfilectx(path=path, data=externals.write(),
562 islink=False, isexec=False, copied=None) 564 islink=False, isexec=False, copied=None)
563 return filectxfn2(repo, memctx, path) 565 return filectxfn2(repo, memctx, path)
564 566
565 extra = util.build_extra(r.revnum, b, svn.uuid, svn.subdir) 567 extra = util.build_extra(r.revnum, b, svn.uuid, svn.subdir)