webpost_at_tigris.org wrote:
> I have been doing some work with the IBugTraqProvider2 and see a couple of things that I would like to suggest be added.
>
> I have taken the code foe Gurtle and modified it to work with Mantis, I'm calling it Murtle :-) and it's working fine right now.
>
> However, there is one bit of information that would be useful to give back to mantis once the commit is finished.
>
>
> A complete list of folders and files that were modified, added or deleted in this commit.
>
> This would allow me to update the mantis issue with a list of what files were changed.
>
> Is there some other way I can get this information?
In the IBugTraqProvider.idl file:
HRESULT OnCommitFinished (
[in] HWND hParentWnd, // Parent window for any (error) UI that
needs to be displayed.
[in] BSTR commonRoot, // The common root of all paths that got
committed.
[in] SAFEARRAY(BSTR) pathList, // All the paths that got committed.
[in] BSTR logMessage, // The text already present in the commit
message.
[in] ULONG revision, // The revision of the commit.
[out, retval] BSTR * error // An error to show to the user if this
function returns something else than S_OK
);
See the comment for 'pathList' ? It says: "All the paths that got
committed."
Or do you need the information about how each of the paths were
committed too (modified, added, deleted, ...)? That information is not
available I'm afraid.
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=1630950
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-10 15:34:38 CEST