mercurial/patch.py
changeset 24268 cf7d252d8c30
parent 24265 dc655360bccb
child 24269 9a745ced79a9
--- a/mercurial/patch.py	Wed Mar 11 07:19:55 2015 -0700
+++ b/mercurial/patch.py	Tue Mar 10 17:34:42 2015 -0700
@@ -1757,7 +1757,7 @@
         raise PatchError(_('patch failed to apply'))
     return ret > 0
 
-def internalpatch(ui, repo, patchobj, strip, prefix, files=None,
+def internalpatch(ui, repo, patchobj, strip, prefix='', files=None,
                   eolmode='strict', similarity=0):
     """use builtin patch to apply <patchobj> to the working directory.
     returns whether patch was applied with fuzz factor."""