This will not work because when you issue the command
"TortoiseProc.exe /command:repobrowser /path:"aaa://www.test.com"" the
full path is passed to the RepoBrowser. In this case the RepoBrowser
would try to open the repository at "aaa://www.test.com" which gives
an error in the RepoBrowser "Error *Unrecognized URL scheme for
'aaa://www.test.com'." So, if another protocol handler was registered
you would still have this problem. If I am completely missing
something here please let me know.
I could make a patch and send it in, but I am not sure how you would
like this handled. I can think of a couple ways to implement this.
It could be rewritten to work like the checkout command. That is if
the path starts with "svn:" it would be removed and everything after
it would be passed to the RepoBrowser. Or, the command could be
written to use the "url" variable. So, the command would work the
same as it does now, but if the "path" variable is not set, and the
"url" variable is, then it would use the "url" variable and like the
checkout command the "svn:" and the beginning of the URL would be
removed and everything else would be passed to the RepoBrowser. It
seems like the second option would be the better solution, since from
what I can see the repobrowser command does not currently use the
"url" variable, but I could be wrong on that. This would not change
the way the command currently works, but it would add the ability to
pass in a HTTP URL using the "url" variable set to
"svn:http://www.test.com".
Let me know if you see any problems with this. Otherwise, if you
would like, I could give a shot at adding this and sending in the
patch.
Kirk
On 8/10/05, SteveKing <stefankueng@gmail.com> wrote:
> On 8/9/05, Kirk Lapray <kirk.lapray@gmail.com> wrote:
> > 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
>
> Why wouldn't that work?
>
> > 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.
>
> Well, you could send a patch!
>
> 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 Wed Aug 10 17:28:52 2005