On Tue, Apr 5, 2011 at 06:25, <rhuij...@apache.org> wrote: > Author: rhuijben > Date: Tue Apr 5 10:25:54 2011 > New Revision: 1088958 > > URL: http://svn.apache.org/viewvc?rev=1088958&view=rev > Log: > Make svn_wc__db_op_copy() perform its work inside a sqlite lock; this should > speed up the performance of 'svn cp' more then just a bit.
Why is the second lookup done within the lock? It seems that both source and destination lookup should (or can) be done outside of the lock. I can see doing the second with_txn() from within the other. But it seems that the lookup should be done "outside". >... Thoughts? Cheers, -g