How To Issue a Recursive GET Based on a Project LabelLast reviewed: January 15, 1997Article ID: Q162114 |
The information in this article applies to:
SUMMARYThere are three methods in Visual SourceSafe that you can use to "Get" files based on a project-level label. This article discusses each of these methods and describes their respective results.
MORE INFORMATIONOf the three methods mentioned above, one uses the Visual SourceSafe Explorer and the other two use the command line.
Using the Command LineThe two command line methods are:
SS GET $/<path to project>/*.* -r -gf -vl<label> -or- SS GET $/<path to project> -r -gf -vl<label>Where <path to project> is the Visual SourceSafe path to the desired project and <label> is the project label against which the Get is executed. The -gf switch tells Visual SourceSafe to Get the files into their working directory, not the current DOS directory. The results of these two examples are quite different. The command in the first example yields all files and subprojects in <path to project> that are currently in the project. The files are returned in the state at which the label was applied. This means that any file or subproject that was deleted (and not permanently destroyed) after the label was applied will not be returned. The command in the second example returns all files and subprojects in <path to project> that were in the project at the time the label was applied, except for those files that were deleted or permanently destroyed. The following procedure illustrates this difference:
Using the Visual SourceSafe ExplorerThe following procedure describes how to use a recursive Get on a label to return all files and subprojects in a project that were in the project at the time the label was applied, except for those projects that have been deleted or permanently destroyed.
REFERENCESFor additional information on project and file labels please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID:Q139298 TITLE :How to Include Specific File Revisions in a Project Label |
KBCategory: kbother kbhowto
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |