[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tortoisesvn-users
Subject:    Re: Problems Using svn:// protocol
From:       Stefan_Küng <tortoisesvn () gmail ! com>
Date:       2008-02-25 20:16:29
Message-ID: 47C3221D.1090306 () gmail ! com
[Download RAW message or body]


Colin Paterson wrote:
> We would like to use the svn:// protocol to allow us to refer uniquely 
> to documents. For example we would like to send emails where we ask 
> users to look at the following document
> 
> svn://servername/projectname/docname.doc
> 
> However when we do this with Tortoise SVN and someone clicks the link 
> they get the repo browser opening at
> 
> svn://servername/projectname/docname.doc where it thinks this is a 
> folder, when the user then clicks the plus next to it. It then 
> disappears and becomes a file but the rest of the files at that location 
> also become available. Is there any way to make it just open the file to 
> a temporary location or just show the file itslef and not the other 
> files at this location?

in the latest nightly builds, TSVN correctly finds that the link points 
to a file and the repository browser will then show the content of the 
parent folder of that file. Of course, the users will still see all the 
other files in that folder.

You could use links like this:
tsvn://svn://servername/projectname/docname.doc
instead. That will open up the checkout dialog for that url.

If you want to open the link in a webbrowser, you'd have to implement an 
asynchronous pluggable protocol handler 
(http://msdn2.microsoft.com/en-us/library/aa767743(VS.85).aspx) for the 
svn protocol (and if you're at it, the svn+ssh protocol as well).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic