Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/patch.py @ 4516:96d8a56d4ef9
Removed trailing whitespace and tabs from python files
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 06 Jun 2007 20:22:52 +0200 |
parents | b79cdb7f0597 |
children | 50252ea60549 |
line wrap: on
line diff
--- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -305,7 +305,7 @@ def patch(patchname, ui, strip=1, cwd=No 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,