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

Re: [PATCH] Change svn_fs_root_t to include pointer to related txn

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-12-13 18:40:33 CET

On Tue, 2005-12-13 at 16:08 +0000, Malcolm Rowe wrote:
> So the way I'd like to avoid this is to hold the file open for the
> duration of the transaction (which isn't a bad idea anyway); the
> most obvious way to achieve that is to stash the apr_file_t in the
> FSAP-specific private data part of the svn_fs_txn_t structure.
> However (and this is the purpose of this note), I'm going to need
> to access the file during calls to the FSFS implementations of
> svn_fs_apply_text() and svn_fs_apply_textdelta(), but these functions
> only take a pointer to a transaction root (an svn_fs_root_t object),
> not to the transaction itself.

Wouldn't it be simpler to stash the file in the transaction root?

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 13 19:28:14 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.