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

Re: Feature suggestion: relocation-helper

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 17 Aug 2011 20:48:39 +0200

On 16.08.2011 21:26, Dale McCoy wrote:
> On Tue, Aug 16, 2011 at 08:31, Rafael M. Heise<rmheise_at_gmail.com> wrote:
>> But I don't agree with you when you say the path shoudn't be editable,
>> just because there is a case where you would like to edit the path.
>> For example, (I'm not sure) you can relocate your working copy from
>> 'http://server/svn/Proj1/trunk' to 'https://server1/svn/projs/proj001/
>> trunk'.
>
> If the original repository is at "http://server/svn/Proj1" and the new
> repository is at "https://server1/svn/projs/proj001", then then you
> have a checkout of "/trunk" in that repository, and this is exactly
> the situation of which Ulrich speaks. You are changing the repository
> root (from "http://server/svn/Proj1" to
> "https://server1/svn/projs/proj001") and leaving the repository path
> ("/trunk") unchanged.
>
> If the either repository is in some other location (e.g.
> "http://server/svn" to "https://server1/svn") then you are not
> relocating to a new instance of the same repository, making relocate
> an invalid operation.
>
>
> On Tue, Aug 16, 2011 at 12:54, Rafael M. Heise<rmheise_at_gmail.com> wrote:
>> Well, I understand your point (finally), but in my opinion, what we
>> have is good enough for all developers, just because if you do
>> something unexpected like try to change the folder, TSVN will show a
>> message.
>>
>> I made a simple test here. I created a new repository with the
>> directories branches/tags/trunk and I created a new folder in the
>> trunk and check it out.
>> Then I renamed the repository and the folder using the repo browser to
>> test if TSVN allows, in the relocate dialog, to change the path. Well,
>> it doesn't.
>
> Is this really that hard?
>
> Ulrich's question:
> Why does TSVN present the possibility of editing the repository path
> (as opposed to the repository root; see above) if it knows that it
> will later refuse that edit?
>
> Ulrich's conclusion:
> If, as the documentation suggests, I am not allowed to change the
> repository path, that portion of the WC URL should either (1) not be
> displayed, or (2) be displayed in a read-only format.

Should be better as of r21854.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2823457
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-17 20:49:28 CEST

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.