diff -r 922fcfb02e77 -r d7abae94a7a0 mercurial/patch.py --- a/mercurial/patch.py Wed Nov 12 23:47:25 2014 -0800 +++ b/mercurial/patch.py Thu Nov 13 00:08:44 2014 -0800 @@ -1573,6 +1573,7 @@ git=get('git'), nodates=get('nodates'), nobinary=get('nobinary'), + noprefix=get('noprefix', forceplain=False), showfunc=get('show_function', 'showfunc'), ignorews=get('ignore_all_space', 'ignorews'), ignorewsamount=get('ignore_space_change', 'ignorewsamount'),