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

Re: ugly problem found while trying to test KDE SVN

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-02-28 21:20:21 CET

On Mon, 2005-02-28 at 14:55, C. Michael Pilato wrote:
> Is it just me, or does the fact that so many of the libsvn_fs_base
> functions take trails and not pools (and just use trail->pool) kinda
> sickening?

It's one of those things I've come to just accept about my world, like
perpetual war in the middle east.

> Anybody opposed to my (or someone else's) gradually working to add
> pool parameter to everything that currently only takes a trail in that
> module?

No objection. This problem has dogged the BDB back end for a long time.

If we want to get even more radical, we could do away with the concept
of trails completely, instead passing the FS, pool, and db_txn
parameters explicitly to each function. The trail's "undo" field could
be replaced with pool cleanups.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 28 21:21:52 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.