changeset 4516 | 96d8a56d4ef9 |
parent 4496 | b79cdb7f0597 |
child 4644 | 50252ea60549 |
--- a/mercurial/patch.py Wed Jun 06 20:17:03 2007 +0200 +++ b/mercurial/patch.py Wed Jun 06 20:22:52 2007 +0200 @@ -305,7 +305,7 @@ raise util.Abort(_('no patch command found in hgrc or PATH')) if util.needbinarypatch(): args.append('--binary') - + if cwd: args.append('-d %s' % util.shellquote(cwd)) fp = os.popen('%s %s -p%d < %s' % (patcher, ' '.join(args), strip,