author | Brendan Cully <brendan@kublai.com> |
Mon, 14 Aug 2006 11:10:21 -0700 | |
changeset 2888 | ce967d96a1c1 |
parent 2887 | 2fe4d99ae726 |
child 2889 | 57b88b86a845 |
hgext/extdiff.py | file | annotate | diff | comparison | revisions |
--- a/hgext/extdiff.py +++ b/hgext/extdiff.py @@ -92,8 +92,9 @@ def dodiff(ui, repo, diffcmd, pats, opts dir2 = snapshot_node(modified + added, node2) else: dir2 = snapshot_wdir(modified + added) - util.system('%s %s "%s" "%s"' % - (diffcmd, ' '.join(opts['option']), dir1, dir2), + util.system('%s %s %s %s' % + (util.shellquote(diffcmd), ' '.join(opts['option']), + util.shellquote(dir1), util.shellquote(dir2)), cwd=tmproot) return 1 finally: