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

Re: Cancelling Subversion operations

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-09-18 09:45:15 CEST

Bill Tutt wrote:
> Oh yeah, and what are you thinking having only one user cancellation
> handler?
> i.e. Why is this state global?
>
> There was a good reason that the cancellation editor was written,
> it's so that the cancellation handler could be specified for each
> particular and interesting operation.
>
> Doing it this way lets the user application maintain its state
> however it wants, and not in some bizarre way that's necessitated by
> Subversion's API choice.
>
> It just so happens that the command line client doesn't care so
> much, but other more sophisticated users of the API might.

This issue was raised a bit earlier in the discussion. Basically it
seemed like the only real "answer" to that was that "It's simpler this
way". Or then I missed something.

I would think this decision would need some written rationale
somewhere, because it's bound to creep up on some unsuspecting client
coder and initiate the "BOO!" "Eek!" communication model.

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 18 09:47:34 2002

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.