[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 Küng <tortoisesvn_at_gmail.com>
Date: Mon, 20 Apr 2009 21:20:31 +0200

Stefan Fuhrmann wrote:
> 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.

But did you see my TODO comment in the source?
If retry is too complex, what about my other suggestion (showing the
error that caused the dialog - it might not be a network problem but a
genuine error)?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1829131
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-04-20 21:20:47 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.