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

Re: Repository-Browser opening parent folder?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-08-25 11:04:16 CEST

Tobias Schäfer wrote:
> On Thursday 24 August 2006 10:41, Stefan Küng wrote:
>
>> That's expected. TSVN doesn't know whether the entered url points to a
>> file or a folder. So it automatically removes the last part of the url
>> to make *sure* it points to a folder when browsing.
>
> Ok, that is a valid explanation.
>
>> If you append an '/' to the url, it will open at the location you expect.
>
> No, I had tried that but that doesn't suffice.
> Appending "/somethingNonExistant" does help though.
>
> Is that a bug in subversion? A path ending with a slash *must* be a folder.

Subversion sometimes doesn't like urls ending with a slash. So we remove
those for every url we process. Unfortunately, by removing the trailing
slash, we also loose the 'information' of the url pointing to a folder.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Aug 25 11:04:31 2006

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.