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

Re: IBugTraqProvider2

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 18 Oct 2008 18:37:01 +0200

Jan wrote:
> Hi,
>
> may be, when you are generate a new interface, you can also add a
> possibility for editing the parameter with the interface. This would
> be a perfect extension for the TracExplorer provider and hopefully
> others.
>
> I mailed some time ago a suggestion for this:
>
> http://groups.google.com/group/tortoisesvn-dev/browse_thread/thread/b7f8a7b4cbf5956c/66e9cc9e51666584?hl=en&lnk=gst&q=IBugTraqProvider#66e9cc9e51666584
>
> By now a dialog opens up to edit the parameter, but the user has to
> copy them by hand to the textbox. I think an extra button, optional
> visible, with parameters getting in and out would be fine.

Extended IBugTraqProvider2 in r14332 with methods to show an options
dialog for the provider, and a GetCommitMessage2() method which has a
parameter containing the common URL of the entries in the commit dialog.
Note that this parameter is the common URL, not the repository root URL
(that URL isn't always available without contacting the repository
first) - the common URL is the part of the URL which all entries have in
common, for example:
http://server.com/svn/project/folder1/file1
http://server.com/svn/project/folder1/file2
http://server.com/svn/project/folder1/file3
--> common URL is http://server.com/svn/project/folder1

http://server.com/svn/project/folder1/file1
http://server.com/svn/project/folder2/file1
--> common URL is http://server.com/svn/project

Stefan

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

Received on 2008-10-18 18:37:26 CEST

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.