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

Re: Common name for transaction and revision object

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 28 Apr 2010 14:42:41 -0700

On 04/28/2010 02:38 PM, Ryan Schmidt wrote:
> On Apr 28, 2010, at 10:03, Blair Zajac wrote:
>
>> If you look at the svn_fs.h API, they are both referred to as revision roots. svn_fs_revision_root() and svn_fs_txn_root() both return a svn_fs_root_t * object.
>
> That does not sound like they're both being referred to as "revision roots"; that sounds like they're both being referred to as "roots".

Oops, yes, they are filesystem roots.

> If you're just looking to name a variable, you can call it RevisionOrTransaction.

I've done that in code I've used, or RevisionOrTransactionRoot for my
use case.

Blair
Received on 2010-04-28 23:43:11 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.