Mercurial > hg-stable
diff hgext/extdiff.py @ 3074:be98c5ce4022
extdiff: do not shell-quote options to new commands
revert a change introduced by 453097750fbf
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Mon, 28 Aug 2006 16:30:48 -0500 |
parents | 7f5fc4b347de |
children | eeaf9bcdfa25 |
line wrap: on
line diff
--- a/hgext/extdiff.py Fri Sep 08 10:01:45 2006 +0200 +++ b/hgext/extdiff.py Mon Aug 28 16:30:48 2006 -0500 @@ -105,8 +105,7 @@ else: dir2 = snapshot_wdir(modified + added) cmdline = ('%s %s %s %s' % - (util.shellquote(diffcmd), - ' '.join(map(util.shellquote, diffopts)), + (util.shellquote(diffcmd), ' '.join(diffopts), util.shellquote(dir1), util.shellquote(dir2))) ui.debug('running %r in %s\n' % (cmdline, tmproot)) util.system(cmdline, cwd=tmproot)