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

Re: A word of warning (re: "transactions" and "revisions")

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-11-06 20:48:52 CET

"Glenn A. Thompson" <gthompson@cdr.net> writes:

> Ben Collins-Sussman wrote:
> >On Thu, 2003-11-06 at 12:54, C. Michael Pilato wrote:
> >
> >>For the purposes of the libsvn_fs API, the term "transaction" will no
> >>longer be sufficient for discriminating between a committed Subversion
> >>transaction and an uncommitted one. I am re-vamping the public FS api
> >>to merge the access routes for revisions and uncommitted transactions
> >>through the same functions (the "txn" ones). The simple fact of the
> >>matter is that there is no difference between a "revision" and a
> >>"committed transaction", so we are no longer going to pretend
> >>otherwise with our APIs.
> >>
> >
> >In other words, we've always defined "revision" and "transaction" as
> >mutually exclusive terms -- a tree is either one or the other.
> >
> >Now we're publically redefining the word "transaction" to be a
> >*superset* of the definition of "revision." That is, all trees are
> >transactions. Some of them just happen to be revisions.
> >
> Could you give an example of a particular function being merged into
> the "txn" version.

svn_fs_revision_proplist() is going away. You want to change a
revision prop, you do:

   txn = svn_fs_open_txn(svn_fs_revision_txn_name())


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 6 20:50:06 2003

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.