On Tue, May 8, 2012 at 2:38 PM, C. Michael Pilato <cmpil...@collab.net> wrote: > On 05/08/2012 02:25 PM, Greg Stein wrote: >... >> Per my suggestion on IRC, I don't see how this function can ever >> error, or ever need a scratch_pool (no matter how we might >> extend/upgrade it). I'd suggest updating the signature accordingly. > > I removed the scratch_pool from svn_stream_lazyopen_create() already, but > forgot about the "don't return an error" bit. Will fix. > > I *did* preserve the scratchpool in the open_func() callback, though, and > the one implementation thereof uses it to pass to > svn_wc__db_pristine_read(). But if you think that's unnecessary too, I can > pull it.
Nope. I completely agree with your design on that part! Cheers, -g