Search by Label

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

Moderator: SourceGear

Post Reply
eggberg
Posts: 1
Joined: Wed Feb 08, 2012 1:03 pm

Search by Label

Post by eggberg » Wed Feb 08, 2012 1:06 pm

Is there an option to search for a specific label which has been applied in any file within any folder directly from the root?
Right now we have to use Show Label and then review to find the label group we are looking for.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Search by Label

Post by lbauer » Wed Feb 08, 2012 4:24 pm

It's not possible in the current release. We have feature 12202 request logged for this functionality; I'll add your vote.

It will be evaluated for an upcoming release of Vault.

You can Get a label with the Command Line Client by just knowing the label name and running the command on $/ (root), if that helps you.

Documentation for the Vault Command Line Client is available from the Command Line Client itself.

Using a command prompt, cd to the Vault Client directory and type vault.exe help. This will give you a list of the commands. For help on a specific command, type "vault help ADD" or "vault help GET," etc.

For Command Line Client help in an HTML format, type "vault helphtml"

Here's an example of the HTML Help for the Vault 5.0 Command Line Client

http://download.sourcegear.com/misc/vau ... nt/clc.htm

A sample Label get from root would be:

Code: Select all

C:\Program Files\SourceGear\Vault Client>vault GetLabel -user user -password password -host vaultservername -repository "Repositoryname" "$/" -labelworkingfolder "C:\Foldername" yourlabelname
Let me know if you have additional questions.
Linda Bauer
SourceGear
Technical Support Manager

ejhansen71
Posts: 60
Joined: Thu Nov 13, 2014 10:12 am
Location: Lake in the Hills, IL

Re: Search by Label

Post by ejhansen71 » Wed Apr 01, 2015 10:06 am

So - its been 3 years since last commented on. Is it possible to use the Vault GUI to search for a label and have the files under the label returned? I am using the latest client and server.
Thanks!

Eric

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

Re: Search by Label

Post by Beth » Wed Apr 01, 2015 12:41 pm

You can use the FindLabel command in the command line client (http://download.sourcegear.com/Vault/8. ... FINDLABELS), or you can perform a Show History but filter it to only show the action of Label and any other filters that may help.
Beth Kieler
SourceGear Technical Support

Post Reply