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

Re: unlock hook completeness?

From: David Glasser <glasser_at_davidglasser.net>
Date: Tue, 15 Jul 2008 23:35:49 -0700

On Tue, Jul 15, 2008 at 10:39 PM, Norbert Unterberg
<nunterberg_at_gmail.com> wrote:
> 2008/7/15 Karl Fogel <kfogel_at_red-bean.com>:
>
>> The COMMENT can potentially be a multiline value. That's okay, the hook
>> is fine receiving a multiline value in one of its args, right?
>
> Well, not on windows, and for values with blank characters you need to
> ensure proper quoting.

Well, there's nothing to "ensure" coming from svn since it's not
running a shell, and it's easy enough to use "$@" to get the arguments
to whatever other program you run in bash on Unix.

And on Windows... well. There are already so many other hook
arguments that can contain whitespace; it really strikes me as a lost
cause.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-16 08:35:59 CEST

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.