extdiff: do not shell-quote options to new commands
authorTK Soh <teekaysoh@yahoo.com>
Mon, 28 Aug 2006 16:30:48 -0500
changeset 3071 be98c5ce4022
parent 3070 24c1db20990c
child 3073 1a792e4a1f3a
extdiff: do not shell-quote options to new commands revert a change introduced by 453097750fbf
hgext/extdiff.py
--- a/hgext/extdiff.py
+++ b/hgext/extdiff.py
@@ -105,8 +105,7 @@ def dodiff(ui, repo, diffcmd, diffopts, 
         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)