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

Re: svn commit: r893179 - in /subversion/trunk/subversion/libsvn_fs_base: dag.c revs-txns.c

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 23 Dec 2009 13:17:09 +0000

I (Julian Foad) wrote:
> Philip Martin wrote:
> >
> > Is this loop big enough to warrent an iteration pool?
>
> It could be large in some revisions, so yes.
[...]
> > Do those comparisons fail or what?
>
> Oh, no, I commented them out because the function didn't have the
> old_copy_id and old_txn_id to compare with. Now it does have the
> old_txn_id, and the old copy_id is called txn_copy_id.
[...]
> Thank you for reviewing, Philip. I'll fix pool usage and re-enable the
> asserts.

In r893507 I moved that loop out to a separate function and gave it an
iterpool and re-enabled the assertions. I also changed the outer
function (svn_fs_base__dag_commit_obliteration_txn)'s pool parameter to
"scratch_pool" and made use of it.

Please let me know any more improvements you spot.

- Julian
Received on 2009-12-23 14:17:51 CET

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.