[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn diff fix for bug 2044

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 20 Mar 2013 13:31:33 +0100

On 20.03.2013 13:22, Philip Martin wrote:
> Turning to the command itself, Subversion would have to parse the string
> and split it into arguments. That gets compilcated if the user wants to
> be able to use quotes to pass whitespace:
> diff-cmd='prog --arg "foo bar" <file1> <file2>'
> A unix user probably wants prog to see one argument "foo bar", without
> quotes, rather than two arguments foo and bar.

You don't need quotes around the whole expansion in the config file.
Splitting the command into an array is trickier as our config format
currently doesn't have a native notation for that and we'd have to
invent one that's backwards-compatible.

-- Brane

Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2013-03-20 13:32:17 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.