Is there a way to search Microsoft Visual SourceSafe 6.0d for all files tagged with a specific label?
I don't think you can search by label, but you can get by label.
To get a version by label:
- Make sure that you have set a working folder in Visual SourceSafe Explorer. See How to: Set the Working Folder.
- Ensure that you have set the history options. See How to: View History.
- Select the project that contains the file to retrieve.
- On the Tools menu, click Show History.
- In the History Options dialog box, select the version of the file to retrieve and click OK.
- In the History of dialog box, click Get to retrieve the version of the file that you have chosen.
- In the Get dialog box, make any additional entries needed and click OK to retrieve the file.
It does seem to be a failure on Microsofts part not to put in a simple search feature on the comments of checkins/checkouts.
I have found this http://www.codeproject.com/KB/cpp/Schiott_SourceReport.aspx
It extracts all the comments you want to a text file.
You can get by label.
This may not be the same as searching by label.
Sourcesafe accepts a label as a valid version number, so it's the same syntax:
ss get -V"my label" $\myproject -R
this will get everything labelled my label
from the myproject
project.
AJ had the right idea, but you just need to use the "dir" command instead of get:
ss dir -v"LABEL" $\PROJECT -R
This will output each file with version that is at that label in the format of:
someFile.c;23
someOtherFile.h;3
<filename>;<version>
For those interested if you want to quickly tell what the latest version of a file is you can do:
ss dir -v. $\PROJECT -R
Have a great time!