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

Re: Executable in bugtraq:url

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-01 21:31:24 CET

Magnus Ekhall wrote:
> I would like to use the bugtraq:url property to link to an issue tracking system
> that is not web based.
>
> To do this I think there needs to be a change in CLogDlg::OnEnLinkMsgview.

No, don't do that. It's not necessary and the wrong way to do this.

> Today a check is done wether it is a valid URL or not.
> If it is not, wouldn't it be possible to split the string after its first space
> and take the first part as the "verb" parameter in ShellExecute and the second
> part as the parameters parameter?
>
> That way I could enter a bugtraq:url like this:
>
> c:\my_issue_tracking_system.exe %BUGID%
>
> Today ShellExecute tries to execute the file "c:\my_issue_tracking_system.exe
> 666" if the bug id is 666. And the result of that call is file_not_found...

You have to register your own url protocol to start your application.
Just like TSVN does with the "tsvn:" protocol.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 1 21:31:35 2006

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.