##// END OF EJS Templates
extdiff: do not shell-quote options to new commands...
TK Soh -
r3074:be98c5ce default
parent child Browse files
Show More
@@ -105,8 +105,7 b' def dodiff(ui, repo, diffcmd, diffopts, '
105 else:
105 else:
106 dir2 = snapshot_wdir(modified + added)
106 dir2 = snapshot_wdir(modified + added)
107 cmdline = ('%s %s %s %s' %
107 cmdline = ('%s %s %s %s' %
108 (util.shellquote(diffcmd),
108 (util.shellquote(diffcmd), ' '.join(diffopts),
109 ' '.join(map(util.shellquote, diffopts)),
110 util.shellquote(dir1), util.shellquote(dir2)))
109 util.shellquote(dir1), util.shellquote(dir2)))
111 ui.debug('running %r in %s\n' % (cmdline, tmproot))
110 ui.debug('running %r in %s\n' % (cmdline, tmproot))
112 util.system(cmdline, cwd=tmproot)
111 util.system(cmdline, cwd=tmproot)
General Comments 0
You need to be logged in to leave comments. Login now