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

Re: [PATCH] implement keywords substitution in mod_dav_svn

From: Ben Reser <ben_at_reser.org>
Date: Fri, 8 Mar 2013 11:24:47 -0800

On Fri, Mar 8, 2013 at 11:12 AM, Vladimir Berezniker <vmpn_at_hitechman.com> wrote:
> If someone does not mind explaining. What would be the benefit of having
> this decision be made by the server vs the client having to request that via
> a explicit parameter on the request?

It's not so much of a benefit as it is a compatibility problem. We
support WebDAV clients with auto-versioning. WebDAV+auto-versioning
lets you mount a SVN repository as though it was a regular file system
and just start making changes with each change automatically committed
as a revision. These clients are at current indistinguishable from a
web browser, they make similar requests that a web browser would and
don't have some pattern we can key off in the GET request.

When using these clients it's important that we don't present to them
a different version of the file than what the repository actually
stores. Otherwise we break this functionality.

Using a query parameter means you can ask for the keyword expansion
without breaking these clients.
Received on 2013-03-08 20:25:26 CET

This is an archived mail posted to the Subversion Dev mailing list.