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

IBugtraqProvider/2 GetCommitMessage/2 pathList parameter is lacking

From: Tyler Collier <tcollier_at_artizan.com>
Date: Mon, 3 Aug 2009 10:14:01 -0700 (PDT)

Hi there,

I was surprised that I have not seen anyone else bring up this issue, but I
did search extensively.

In the IBugtraqProvider (and IBugtraqProvider2) interface's GetCommitMessage
(GetCommitMessage2 for IBugtraqProvider2), why does the pathList parameter
only contain files that are "selected" for the commit? In this case,
"selected" means selected in Windows Explorer, not selected in the commit
dialog. This is by design according to the documentation but seems less
useful than what I was hoping for: the list of files currently CHECKED in
the commit dialog (regardless of "selected" or not in the commit dialog,
although even that would be more helpful because then users could highlight
certain paths before launching my plug-in).

As far as I understand, in many cases it is not possible to select all
desired paths in Windows Explorer. For example, say I have a the following
file structure:

dir1
dir1/file1
dir1/file2
dir2

In Windows Explorer, there is no way to select all of these paths at the
same time. The best I could do is select dir1 and dir2 at the same time, or
dir1/file1 and dir1/file2 at the same time. Of course, dir1 contains files
file1 and file2; however the pathList parameter only contains paths that are
selected explicitly.

Thus I am confused about the current design and am wondering if I'm just
missing something. Please let me know if so, and if not, how I should best
go about submitting this as a bug or enhancement request. Being able to get
the list of checked paths in the commit dialog is important enough to my
current requirements that I am using the Windows API's SendMessage
functionality to read the TSVN commit dialog, which is tricky at best.

Thank you,
Tyler Collier

-- 
View this message in context: http://www.nabble.com/IBugtraqProvider-2-GetCommitMessage-2-pathList-parameter-is-lacking-tp24794632p24794632.html
Sent from the tortoisesvn - dev mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2379645
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-03 19:17:56 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.