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

Re: Repo browser always shows root of redirected URLs

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 25 Sep 2013 20:37:35 +0200

On 25.09.2013 14:37, George Stein wrote:
>> On 24.09.2013 11:05, George Stein wrote:
>>> A repository is available at http://example.com/svn/repo_new
>>>
>>> Old URLs should be provided with a redirect. Following
>>> http://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&dsMessageId=459743
>>>
>>>
leads to: RedirectMatch permanent ^/svn/repo_old(.*)$
>>> /svn/repo_new$1
>>>
>>> Entering the URL http://example.com/svn/repo_old/foo/bar in the
>>> repo browser shows the root of the repository not the path. The
>>> redirection works in a web browser (e.g. Firefox) as well as in
>>> a command line (svn ls).
>>>
>>> Tested with TortoiseSVN-1.7.13 and TortoiseSVN-1.8.2.
>>
>> Took me quite a while to set up a server with a redirect, but I
>> finally got it working.
>>
>> Now: using the latest 1.8.2 version of TSVN, starting the repo
>> browser with the old url gets properly redirected to the new url,
>> showing the new url. Not the repo root but the subfolder I entered
>> in the url.
>>
>> So for me here, it works as it should.
>>
>> How do you start the repo browser? What's the exact url you enter?
>> If you start it from a working copy, is the working copy still at
>> the old url or the new one?

> I should have been more specific, sorry.
>
> The problem occurs if the repo browser is started from any working
> copy, the URL doesn't matter. Editing the URL to the old subfolder
> one (e.g. http://example.com/svn/repo_old/foo/bar) the repo browser
> only shows the new redirected repository root
> (http://example.com/svn/repo_new/).

In that case:
http://code.google.com/p/tortoisesvn/issues/detail?id=569

Should work in the next release.

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=3065244
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-09-25 20:37:43 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.