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

Re: Re: svn commit: r23760 - in branches/sparse-directories/subversion: libsvn_ra_svn svnserve

From: Peter Lundblad <plundblad_at_google.com>
Date: 2007-03-12 11:15:11 CET

Malcolm Rowe writes:
> The "?" says that the outer tuple is allowed to end here, because an
> old client or server wouldn't know to send the new subtuple. The new
> subtuple appears in square braces because, even in the new protocol,
> the lock-token is still optional (but if there's no lock-token to
> send, then an empty tuple must still be transmitted, so that future
> extensions to this command remain possible). And if lock-token were
> mandatory in the new protocol, then the braces would be parentheses
> instead.
> ---
> Specifically, I think the last sentence is probably wrong - if the item
> isn't optional, it should probably just be standalone, not enclosed
> in parentheses.
Agreed. Maybe optionality should not be discussed in this depth here, because
it is orthogonal to extensibility?

> (How common is 'braces' as a synonym for 'brackets' by the way? It's not
> one I'd come across before).
No idea, but I'd say that "braces" is confusing anyway. Personally, I'd
prefer "brackets".


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 12 11:15:59 2007

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.