INFO: When -d Switch of Analyze Deletes Files

Last reviewed: May 16, 1997
Article ID: Q168634
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, versions 4.0, 4.0a
  • Microsoft Visual SourceSafe, 32-bit, for Windows, version 5.0

SUMMARY

You can use the -d switch on Analyze.exe to delete unnecessary files from the database. This switch will not delete all unnecessary files, only those that meet a certain condition.

MORE INFORMATION

Under most circumstances, when you delete a file from a SourceSafe project it will delete the associated file pair from the SourceSafe database (usually the VSS\DATA directory.)

However, if a file is branched to another project and then deleted, SourceSafe does not delete the associated file pair from the database because it needs those files to maintain the history of the branched version.

Even when the branched version is subsequently deleted, its associated file pair is not deleted.

The only time the -d switch on Analyze will delete files from the SourceSafe database is when it detects a file that was involved in a branch at one point, and no branched versions of the file are now active (not deleted) in the project tree.

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q157984
   TITLE     : How SourceSafe Uses the DATA Directory

   ARTICLE-ID: Q139566
   TITLE     : ANALYZE5.EXE Utility for Visual SourceSafe

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by David de Groot, Microsoft Corporation


Keywords : kbtool ssdb
Version : 4.0 4.0a 5.0
Platform : WINDOWS
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.