diff 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
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -558,6 +558,8 @@ def stupid_svn_server_pull_rev(ui, svn, 
 
             def filectxfn(repo, memctx, path):
                 if path == '.hgsvnexternals':
+                    if not externals:
+                        raise IOError()
                     return context.memfilectx(path=path, data=externals.write(), 
                                               islink=False, isexec=False, copied=None)
                 return filectxfn2(repo, memctx, path)