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

When to call svn_repos_abort_report?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-07-25 21:11:55 CEST

If svn_repos_finish_report fails and returns an error is it valid for
the caller to call svn_repos_abort_report?

The svn_repos_abort_report documentation states that it can be called
anytime before svn_repos_finish_report is called. Does this mean it
should not be called afterwards?

Looking at the code I see that svn_wc_crawl_revisions2 will call
svn_repos_abort_report if svn_repos_finish_report fails. However I
also see that svn_repos_finish_report will always close the temporary
file even if an error occurs, and that svn_repos_abort_report will
attempt to close the same file.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 25 21:13:39 2005

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