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

Re: svn commit: r35250 - trunk/subversion/mod_dav_svn/reports

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 16 Jan 2009 09:58:59 -0500

C. Michael Pilato wrote:
> Greg Stein wrote:
>> Why not just flush unconditionally? This seems to add a little extra
>> complication. And if you remove .sent_opener anyways, then you'll fall
>> back to an unconditional flush anyways.
> See above. No opener, nothing to flush, one less opportunity for an error
> to occur. But I'm not particularly tied to this line of thinking -- I
> merely replicated what the 'svn log' REPORT logic did.

Hrm. It turns out that if I flush the buffer unconditionally, the primary
error returned by svn_repos_node_location_segments() gets lost, and I'm back
to square one. I don't fully understand why, but I can toggle the situation
at will with the addition and removal of that single "if" statement.

Ah! (Thank you, Google.)

See http://subversion.tigris.org/issues/show_bug.cgi?id=3102 for more info!

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2009-01-16 15:59:17 CET

This is an archived mail posted to the Subversion Dev mailing list.