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

Re: atomic revprop commits at the RA level

From: David Glasser <glasser_at_mit.edu>
Date: 2006-08-15 00:20:14 CEST

On 8/14/06, C. Michael Pilato <cmpilato@collab.net> wrote:
> Yes, change_edit_props should be allowed before open_root(). This doesn't
> mean, of course, that the commit editors which currently delay this action
> until open_root() must now create the transaction at editor-creation time --
> they can just delay it until either of open_root() or change_edit_props()
> occurs.
>
> One additional thing to watch for is that we don't make it super-easy for
> folks to commit revisions that have no tree changes, just property mods.
> Not sure what the best mechanism for doing so is, though.

Aha, actually doing what you say in the first paragraph will make what
you say in the second paragraph happen. (Looks like the delay of
transaction-creation until open_root in the repos committer is exactly
what prevents "empty" commits from happening.)

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 15 00:20:48 2006

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.