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

Re: Want to go offline?

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Mon, 20 Apr 2009 20:24:49 +0200

Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se> wrote:

> I'm from time to time having problems with the connectivity to one of the
> repositories that I'm using. This means that I'm no stranger to the "Want
> to go offline?" dialog. The connection problems I'm experiencing are
> however always transient, which means that I regularly end up pressing
> "Cancel" followed by triggering a reload.
>
> I would propose to add a "Try again"-button to the "Want to go
> offline?"-dialog. Idealy it would be the default selection, so that
> pressing enter in the dialog would trigger a retry of the operation.
>
> (And checking the "Make this default" could set the "Try again"-button to
> be grayed out.)
 
First, I thought "How hard can it be?". Then it turned out
to be hard to implement consistently.

One of the potential issues is with intermittent failures:
You cannot just retry be issuing the same request a second time.
Instead, all data returned so far must be removed as well.
This cannot be done where we actually call the SVN functions
but must be done by the log dialog logic, for instance.

So, it is not impossible to add a "try again" button but we
would end up adding error handling code wherever log info
is being processed. On the other hand, the <ESC>-<F5>
sequence should be quick enough not to disturb the workflow
- provided that accelerators have been defined properly
(didn't check that right now). Plus you get a proper error
message in case you care what went wrong.

-- Stefan^2.
Received on 2009-04-20 20:24:19 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.