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

Re: [TSVN] Starting RepoBrowser using TortoiseProc and svn: link

From: Kirk Lapray <kirk.lapray_at_gmail.com>
Date: 2005-08-09 22:20:47 CEST

I am sorry if I am not being clear on this.

I do not need another protocol handler. (I have actually thought
about doing something like this, but it will not work.) What I do
need is someway to pass an http:// URL into the "TortoiseProc
/command:repobrowser" command from a web link. The only way to do
this is to change the code for the TortoiseProc command. Which I
could probably do and then recompile my own version, but it would be
nice if this was put into the official version.

The problem is that when a svn:// link is clicked on the entire URL is
passed to the application. This makes it impossible to start the
RepoBrowser pointing to a http:// URL. So, even if I did create a new
protocol handler it would be passed in the URL also and I would have
the same problem.

There needs to be some way to parse a http:// URL out of the path that
is sent to the RepoBrowser command in TortoiseProc. Since a http://
URL works using "TortoiseProc /command:checkout"
(tsvn:http://myserver.com/repo/trunk) it would make sense that it
should also work in pretty much the same way with the "TortoiseProc
/command:repobrowser" (svn:http://myserver.com/repo/trunk) command.

Kirk

On 8/9/05, SteveKing <steveking@gmx.ch> wrote:
> Kirk Lapray wrote:
> > The problem is that I would like to open the RepoBrowser from a web
> > link. I know I can browse the repository using a web browser, but it
> > doesn't have all of the functionality that the RepoBrowser has. It
> > would be nice to simply click on a link and have the RepoBrowser open
> > to the specified http:// URL. I have not been able to find any way to
> > do this.
>
> There is no way to start the repobrowser for http:// URLs.
>
> > What if the RepoBrowser command checked for http:// in the path and if
> > it found it would then use the path from http:// to the end of the
> > string? That way you could use <a
> > href="svn://http://myserver.com/repo/trunk">Browse the repo</a> to
> > open the RepoBrowser and have it point to a http based repository.
> > This would then not affect using svn://myserver.com/repo/trunk.
>
> TSVN registers the svn:// and svn+ssh:// protocoll only because there is
> *no* other application installed (at least not by default) which can
> handle these protocols directly from a webpage.
>
> And I knew back when I registered TSVN for those protocols and also the
> tsvn:// protocol that people will start asking for more and more
> protocols to be registered, one for each specific feature they want to
> have. That's why I waited a long time until I finally decided to do
> that. I just don't want to get this out of hand - and besides: good
> browsers today don't just open such apps but show a big warning dialog
> that an external app has to be launched for that kind of link.
>
> If you really want, you can create a *.reg file for your users with
> which you register your own protocol handler, pointint to TSVN.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 9 22:21:14 2005

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.