--- a/hgsvn/run/hgpullsvn.py +++ b/hgsvn/run/hgpullsvn.py @@ -174,8 +174,7 @@ if removed_paths: try: for file_path in removed_paths: - if os.path.exists(file_path): - run_hg(["remove", "-A"], file_path) + run_hg(["remove", "-A"], [file_path]) except (ExternalCommandFailed), e: if str(e).find("file is untracked") > 0: ui.status("Ignoring warnings about untracked files: '%s'" % str(e), level=ui.VERBOSE)