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

Re: BugTraq commit button grayed out during initialization

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 08 Jun 2013 08:46:16 +0200

On 08.06.2013 04:19, Friedrich Brunzema wrote:
> Hi,
>
> I just started using the exellent TortoiseSVN - JiraSVN BugTraq
> plugin. When configured properly, a "Jira" button shows up in the
> top right corner that lets one run the plugin (which lists issues
> from our Jira issue tracking system).
>
> Another developer and I tried this on a large working copy with lots
> of uncommitted code - we had to wait a bit until the status listbox
> of changed files populated, before the Jira button was enabled. The
> other developer asked if we could not have access to the plugin while
> the status list loaded.
>
> I don't know enough about this to comment - it could work or allowing
> this could be a big "can of worms". The functionality would be nice -
> while TSVN is populating the box, you can go and choose the issue to
> commit against - very nice because its one of those things where a
> "flow" is not broken.

Here's the description on how these plugins work:
https://tortoisesvn.googlecode.com/svn/trunk/contrib/issue-tracker-plugins/issue-tracker-plugins.txt

And if you have a look at the COM-API:

https://tortoisesvn.googlecode.com/svn/trunk/contrib/issue-tracker-plugins/inc/IBugTraqProvider.idl

you can see that the method GetCommitMessage() and/or
GetCommitMessage2() has a parameter 'pathList' which is the list of
paths that are shown in the commit dialog.

That's why the button is disabled until the file list is shown in the
commit dialog: that list is required to pass to the issue tracker plugin
- as long as that list isn't know, we can't call the plugin.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3057740
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-12 06:28:55 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.