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

representation_t->txn_id ?

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2005-12-16 19:15:49 CET

I'm confused about the meaning of the 'txn_id' field in
libsvn_fs_base/fs.h:representation_t:

  /* transaction ID under which representation was created (used as a
     mutability flag when compared with a current editing
     transaction). */
  const char *txn_id;

Now, I've heard cmpilato talk about our famous node-rev-id x.y.z
triplets, and how the 'z' part is the transaction the node was created
in, and how it can be examined to decide if the node is mutable or
not.

But I'm not understanding how this concept plays with representations.
 The docstring suggests something similar about being a mutability
flag, and if you look at reps-strings.c:1552 or so, our deltification
explicitly sets the field to NULL when writing out a new rep. Is that
a bug? Or is it intentional.

I suspect cmpilato is the best person to de-confuse me here. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 16 19:16:59 2005

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.