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

changing revision props (was: SVN log character encoding.)

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-13 01:43:56 CEST

On Thu, Sep 12, 2002 at 12:12:18PM -0500, Ben Collins-Sussman wrote:
> (And this should be easy to do over DAV; just do the same thing we do
> for setting log messages: do a CHECKOUT of a baseline into our
> activity, and then PROPPATCH it.)

Actually, the model is a bit different. The CHECKOUT creates a working
baseline, where the PROPPATCH is performed. Later, we execute a MERGE which
checks in that working baseline, creating a new one with the props we

But in the -r2309 case, we're changing an existing baseline (from a
modelling standpoint). Thus, you want to PROPPATCH directly against a
baseline. So... get the URL to the baseline, but don't do a CHECKOUT on it.

mod_dav_svn will need to be tweaked to allow that, but it shouldn't be a
hard one.

However, I *do* worry about enabling that as a remote operation. What hooks
get run? How is authorization performed? Is logging possible?

Effectively, the operation is lossy -- you lose the previous property value.
Lossy operations via the network just feels shaky to me. I like the implicit
requirement that you have shell access (in order to run svnadmin) to change
any revision properties.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 13 01:44:24 2002

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.