mercurial/util.py
changeset 2314 e9b5749e4de3
parent 2308 cb520d961d6a
child 2448 b77a2ef61b81
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -94,7 +94,7 @@ def patch(strip, patchname, ui):
     """apply the patch <patchname> to the working directory.
     a list of patched files is returned"""
     patcher = find_in_path('gpatch', os.environ.get('PATH', ''), 'patch')
-    fp = os.popen('"%s" -p%d < "%s"' % (patcher, strip, patchname))
+    fp = os.popen('%s -p%d < "%s"' % (patcher, strip, patchname))
     files = {}
     for line in fp:
         line = line.rstrip()