List all labels using command line

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

Moderator: SourceGear

Post Reply
christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

List all labels using command line

Post by christian » Sun Nov 21, 2004 1:27 pm

Is it possible to list all labels for a repository or better still a specific folder using the command line? If not how can I go about getting this information without using the GUI. I'd rather not have to resort to using the API as 1) I know its somewhat unsupported and 2) it means having to write and maintain .Net code which at the moment I think could prove a headache as the company I'm working for is on VB6.

Thanks
Christian

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Mon Nov 22, 2004 8:13 am

Unfortunately, there isn't a command right now that will list labels. You can query history and see that a label was applied, but the label name isn't part of it.

So, you will have to use the API to do it. I will add this as a feature request though.

christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Post by christian » Mon Nov 22, 2004 8:15 am

dan wrote:So, you will have to use the API to do it. I will add this as a feature request though.
Ok, and thanks for adding as a feature request. I was just trying not to be the first one here that has to maintain a .Net solution. I just know I'm in for a bit of pain :-(

Christian

Post Reply