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

Re: Removed dir in repos with local modifications result in strange behavior.

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-03-07 16:33:30 CET

On Sun, 2004-03-07 at 10:20, Julian Foad wrote:
> return svn_error_createf
> (SVN_ERR_WC_OBSTRUCTED_UPDATE, tmp_err,
> "Won't delete locally modified directory '%s'", path);
> + /* ### ... leaking any errors that were above tmp_err in the chain. */

As it turns out, all errors in a chain are allocated from the same pool,
so it's impossible to leak just part of an error chain.

(Whether that's clear from the API documentation is another question.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 7 16:33:49 2004

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.