changeset 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 24c1db20990c
children 1a792e4a1f3a
files hgext/extdiff.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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)