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

[TSVN_U] Re: [TSVN] Cannot replace a directory from within

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-11 21:51:18 CEST

Matthias Wächter wrote:

> 1. We (developers/doc writers) should consider a re-structuring of the
> repository contents as a normal operation. So it should be supported and
> well-documented. Not everyone gets the structure done in the first run
> and, hey, the support for re-structuring is what makes SVN unique. :) So
> I suggest a separate chapter/section labeled something like "Directory
> re-structuring: The easy way" - text tbd.

Good idea - I hope Simon has some free time ;)

> 2. Side note: If I were a beginner, I would consider "Relocate" to be
> the proper operation because "Switch" is not specific enough. "Relocate"
> is a very concrete word suggesting the expected operation but not
> required very frequently. "Switch" is a very general term that would not
> jump into my mind after re-structuring.

Well, TSVN keeps the names of the CL client. And that means that
'switch' is used for restructuring, and 'relocate' for URL rewriting.
(the CL client even uses 'switch --relocate' for the relocate command).

> 2. I think the warning dialog should contain a "Help" button like the
> original relocate dialog - the user does not expect such a warning, he
> should be offered further information from here, not by aborting and
> re-running Relocate to find a Help button. A button directly to the
> "Switch" command from the warning dialog would be cool, something like a
> second chance to use the correct operation.

A help button would be possible. But switching to the "Switch" dialog
directly? I'm not sure if that so easy to do...

> 3. The warning dialog and the Relocate dialog might be swapped in order,
> so the warning is presented before the harmless-looking Relocate dialog.

But that would freak people out, wouldn't it? I mean a warning before
anything else?

> 4. Maybe SVN could change in a way that any applied 'Relocate' command
> would automatically determine the correctness of the operation? Is this
> possible at all? Couldn't the 'new' repository be contacted and verified
> against the WC before updating the WC?

That's up to Subversion, not TSVN. I made some suggestions in the past
about this, but the Subversion guys didn't see that as a high priority.

> The message box I would expect would be something like the following,
> with better English of course:
>
> ====================================
> = TortoiseSVN - Relocate Warning
> ====================================
> *ATTENTION:* The Relocate command is only used if the URL of the
> repository root has changed due to a server IP address change, protocol
> change (f.e., http:// to https://) or a change of the repository root
> path in the server setup.\n
> *This is a very infrequently used operation* and applies neither if you
> want to move to another Subversion repository nor if you want to switch
> to another branch or directory *within the same repository*.\n
> To move to another Subversion repository, perform a clean checkout from
> the new repository location.\n
> To associate your working copy with another branch or another directory
> within the same repository, use the Switch command below or from the
> main menu.\n
> \n
> An inadequately used Relocate command *will corrupt your working copy!*
> If you are unsure whether Relocate is the correct operation, it probably
> is not and you should consult *Help* below.
>
> [Relocate] [Switch] [Cancel] [Help]
> ===================================
>
> What do you think?

Good idea. I'll change the dialog. But not today anymore ;)

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
--
Received on Tue Oct 11 20:59:11 2005

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

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