[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: Karl Fogel <kfogel_at_collab.net>
Date: 2001-03-30 21:40:39 CEST

Jim Blandy <jimb@zwingli.cygnus.com> writes:
> Ahh, I just thought of the right answer to this question:
>
> In the approach you suggest, you're basically re-implementing all the
> logic in svn_fs_merge within DAV. This means that the filesystem has
> packaged up that logic in a way that's not useful to you. If you
> could think of an alternative, easy-to-understand interface that would
> allow you and the commit process to share the logic, that would be the
> best outcome.
>
> I guess the logic isn't that complex, so the duplication still isn't a
> big deal. It's just finesse points.

Yeah, good point.

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...)

-K
Received on Sat Oct 21 14:36:26 2006

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