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

Re: "Relocate" needs less scary alerts and error messages

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 20 Jun 2008 11:44:48 +0100

2008/6/20 Hedley Finger <hfinger_at_handholding.com.au>:
>
> I just installed one of those multiport front panels on my computer with
> card readers, FireWire, USB, SATA, etc. This moved H:\MyRepo to N:\MyRepo.
>
> Of course, when I tried to SVN Commit, an error message reported that the
> repository was missing.
>
> After right-clicking around on my working copy (= local copy of files that
> actually get worked on, right?) I finally right-clicked on the repo root and
> got SVN Relocate to finally show up on the context menu. The dialogue
> showed H:\MyRepo as the current location and I dutifully typed N:\MyRepo as
> the new location. But then an error message said that the working copy
> would be copied over the repo and I would destroy/overwrite/cause Armageddon
> if I proceeded.

No it most certainly did not say that! Relocate does not overwrite
your repo with a WC.

Which version of TSVN are you using?

> So I cancelled out, backed up my working copy, and THEN did the relocate.
> Of course, everything went okay, and commit finally worked.
>
> But the error messages gave me a moment of real terror. It is not the
> working copy that is/has been relocated from the client's point of view, but
> the repository. And, of course, in this case the repository HAD moved.
>
> Has anybody else experienced this near-death situation? Perhaps the
> messages in the dialogues need to be modified to be more user friendly and
> state the real situation, and the help needs a bit more detail.

The warning (not error) message is necessary because people do use
relocate when they should not and screw up their working copies. It is
a very infrequent operation to need to perform, so the level of
warnings has been scaled up to reduce the number of problem reports
from people who used it incorrectly. And I think the help is already
fairly explicit about when you should and shouldn't use it. Which bit
was unclear?

Simon

-- 
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-20 12:45:05 CEST

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