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

Re: Relocate warning dialog is broken

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 28 Apr 2011 20:38:39 +0200

On 28.04.2011 13:23, Nikolay Osinin wrote:
>>> 1. Why TSVN warns me when I relocating WC from one to another repo?
>>> Here is full URLs. Repo URL in round bracket.
>>> From: (https://topserver01:8010/svn/TestCentral)/Gal/trunk/CompSrc/M/M_Transp
>>> To: (https://topserver01:8010/svn/Central)/Gal/trunk/CompSrc/M/M_Transp
>>
>> Because by just looking at the urls, TSVN doesn't know that TestCentral
>> and Central are two different repositories. 'svn' could be the
>> repository root.
>> That's also why the message says "it seems" and not "it definitely is".
>>
>
> May be it is possible to detect repository root by URL?
> I tried to do this in the patch.

The problem with your patch:
* the check must not access the repository
* in a real relocate, the source repository wouldn't be accessible
anymore, so contacting that repo to find the repo root wouldn't even work

But thanks anyway :)

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=2725516
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-28 20:38: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.