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

Re: BUG: Repo-browser displays incorrect folder in TSVN 1.4.5 with fully-pathed URL

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-09-05 18:38:27 CEST

Andrew Mayo wrote:
> Problem occurred accessing an FSFS repository through SVNSERVE but is
> believed not to be specific to this scenario.
>
> REPRODUCTION STEPS
>
> 1. Enter the repo-browser and use the mouse to navigate to the leaf node
> of a tree i.e a specific file in the repository
>
> 2. Click on the URL field and press ENTER. The leaf node is now shown as
> a folder node and can be expanded to show a spurious 'false folder' in
> which the original file is shown as a child.
>
> ALTERNATIVE REPRODUCTION STEPS
>
> This is actually a very annoying problem because if you embed a
> hyperlink in Microsoft Outlook to a repo-browser location in an email
> such as
>
> svn://cerberus/Projects/Nexphase/FB Stats.txt
>
> then when the user clicks on it, they are not correctly taken to the
> file "FB Stats.txt" n the tree but instead the problem above causes the
> repo-browser to display a spurious folder. Clicking on the folder as
> above then shows the 'file' but if you attempt to open the file, an
> error is returned.
>
> This is the same bug as reported in steps 1 and 2, of course, and stems
> from a problem with the way the URL field appears to be handled if a
> full path is entered directly rather than filled in by mouse clicks.
>
> WORKAROUND
>
> Click on the parent folder in the tree and re-navigate down. This is
> awkward and causes users to lack confidence in SVN as a documentation
> control system, which is regrettable, as I am keen to roll this out
> company-wide.

This is a known issue. The reason is simple: it's impossible to gather
from an url alone whether it points to a file or a folder.

In the upcoming version 1.5, the repository browser has been completely
rewritten, including some checks about whether an url points to a
file/folder. Which means this issue is no longer valid in that version.

You can try a nightly build if you like.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Sep 5 18:35:26 2007

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.