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
Received on 2008-02-25 21:16:53 CET