Re: svn diff fix for bug 2044
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 20 Mar 2013 12:22:13 +0000
Stefan Sperling <stsp_at_elego.de> writes:
> I agree. I like the idea of allowing users to specify a template in the
That's neat. However we have to consider whitespace/quoting issues in
On Unix we currently invoke diff without a shell passing an array of
On Windows I believe APR concatenates the array of arguments and passes
diff-cmd='kdiff3 --L1="<label1>" "<file1>" --L2="<label2>" "<file2>"'
The tricky bit is that that will not work on Unix. The extra quotes
Turning to the command itself, Subversion would have to parse the string
diff-cmd='prog --arg "foo bar" <file1> <file2>'
A unix user probably wants prog to see one argument "foo bar", without
-- Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/downloadReceived on 2013-03-20 13:22:59 CET |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.