hgext/extdiff.py
changeset 3074 be98c5ce4022
parent 2959 7f5fc4b347de
child 3090 eeaf9bcdfa25
--- 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)