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

Re: transaction roots

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-03-30 23:15:41 CEST

On Fri, Mar 30, 2001 at 01:40:39PM -0600, Karl Fogel wrote:
> But: Greg, were you aware that svn_fs_merge() is not only for trees?
> It just takes three roots and three paths -- those pairs can result in
> any kind of object. So maybe svn_fs_merge() gives you the information
> you need after all. (Or maybe not? Let us know...)

Merge happens *after* the fact. I'm checking before even starting a change.
To use merge, I'd have to wait for the postfix deltas, change the nodes in
my transaction, then attempt the merge to see if it was legal to do the
postfix delta in the first place!

Second, if I pass directories to merge, then I'm kinda screwed, no? It will
recurse all the way down...

Merge is "I did this. Was it okay?" ra_dav/mod_dav_svn is "Can I do this?"
I much prefer the latter :-)


Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:26 2006

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