Including a Comment when adding a label

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
sgclark
Posts: 31
Joined: Wed Jul 14, 2010 9:51 am

Including a Comment when adding a label

Post by sgclark » Fri Jul 30, 2010 2:43 pm

When I use the Vault LABEL command on the command line, I can optionally include a comment string on the command line. This works as expected.

The <vaultlabel> VaulltNantTask is implemented with what looks like the Vault API call ServerOperations.ProcessCommandLabel. However, this API does not look like it accepts a comment string as a parameter.

So, how does you include a comment when adding a label via the ProcessCommandLabel API or the <vaultlabel> NAnt task?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Including a Comment when adding a label

Post by Beth » Fri Jul 30, 2010 3:36 pm

In a section of our forum called Development Tips (API), you can find answers to a lot of things about the API.

Here's a few threads that appear to pertain to what you need:
http://support.sourcegear.com/viewtopic ... ent#p54814
http://support.sourcegear.com/viewtopic ... ent#p49999
Beth Kieler
SourceGear Technical Support

sgclark
Posts: 31
Joined: Wed Jul 14, 2010 9:51 am

Re: Including a Comment when adding a label

Post by sgclark » Mon Aug 02, 2010 8:04 am

Thanks Beth, I'll dig into those links.

Steve

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Including a Comment when adding a label

Post by Beth » Mon Aug 02, 2010 8:06 am

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply