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

Re: svn commit: rev 2452 - trunk/subversion/include trunk/subversion/libsvn_wc trunk/subversion/libsvn_client

From: mark benedetto king <bking_at_inquira.com>
Date: 2002-07-10 15:05:49 CEST

On Wed, Jul 10, 2002 at 07:05:30AM -0500, philip@tigris.org wrote:
> +#if 0
> + /* ENTRIES_MODIFED is set TRUE when the entries cached in ENTRIES have
> + been modified from the original values read from the file. */
> + svn_boolean_t entries_modified;
> +

I like the idea of keeping a "dirty bit" around; then writes can be no-ops!
That didn't occur to me when I had my fingers in the wc lib.

> + /* Once the 'entries' file has been read, ENTRIES will cache the
> + contents if this access baton has an appropriate lock. Otherwise
> + ENTRIES will be NULL. */
> + apr_hash_t *entries;

I think you may wind up needing two of these; one for entries-with-deleted
and one for entries-without-deleted, unless you intend to emulate this
duality in some other way. Just a heads-up.



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 15:11:15 2002

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.