Re: IBugTraqProvider2 method CheckCommit can be passed an empty commonURL parameter
On 17.08.2010 14:36, Jim Brooks wrote:
> IBugTraqProvider2 method CheckCommit(). The CommonURL parameter is empty
> if all of the files in the “Changes made” grid are new files, even if
> the checkbox is checked for each. The CommonURL is populated if I cancel
> out of the first commit and start another commit.
> To reproduce this I can commit all of the files under my branch. Create
> a new folder locally and create a new text file in that folder. Right
> clicking the branch and select Commit. Check the checkbox for each of
> the 2 new items. Click OK and the CheckCommit() method fires, but the
> commonURL value is empty. The documentation says this should be “*the
> root path of all checked items.” *at this point.
> As a potential work around - At the same time on the dialog form I can
> see in the top left hand corner the "Commit to: " label that contains
> the URL to the branch. Is there any way I could get this value in my
> CheckCommit method? Maybe using IntPtr hParentWnd?
The problem is that added files don't have an url assigned to them until
you actually commit them. At least with 1.6.x.
In the upcoming 1.7 however, added items do have an url, so that will be
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-08-17 19:18:37 CEST
This is an archived mail posted to the TortoiseSVN Users