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

Re: Minor issue with hyper-linking

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-06-19 13:46:57 CEST

On 6/19/07, si <sshnug.si@gmail.com> wrote:

> I find subversion hyper-links to be very useful in documents (emails, etc)
> and just noticed a little glitch: when you select a file to be shown in the
> repo browser, the folder icon is shown on the file, and the other files in
> the directory are not shown until you expand the file in question.

That's because you can't tell from an URL alone whether it points to a
file or a folder.

> Not sure if this is intended behavior, but it looks a little odd.
>
> Using TortoiseSVN 1.4.4, Build 9706 - 32 Bit , 2007/06/09 09:44:02
>
> Also, would it be useful to allow other TSVN functionality to be invoked
> from hyper-links?
>
> e.g. svn://repos/file?log, svn://repos/file?graph, svn://repos/file?prop
>
> So the ?xxx would (somehow) be removed from the URL and the appropriate
> function is executed (show log, revision graph, subversion properties, etc)
> instead of showing the repo browser.

We already used the ?xxx syntax to specify a specific revision (not in
the 1.4.x releases, only on trunk).
Apart from that: invoking different commands is a potential security
risk. Many of those commands have full access to the local harddrive -
controlling those from a simply url is dangerous.

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 Tue Jun 19 13:46:56 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.