Sophie

Sophie

distrib > Fedora > 17 > x86_64 > media > updates-src > by-pkgid > 4cd5620468a7a65f25b99b03731750a1 > files > 2

hgsvn-0.1.9-5.fc17.src.rpm

--- 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)