PRB: Rollback of Shared File Forces a Branch

Last reviewed: January 28, 1998
Article ID: Q156717
4.00 4.00a WINDOWS kbprg kbprb kbhowto

The information in this article applies to:

  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows 4.0, 4.0a

SYMPTOMS

When you perform a Rollback of a shared file, SourceSafe will cause the shared file to branch. This article describes how to reproduce this behavior and how to avoid it.

RESOLUTION

The following procedure describes a workaround that will avoid branching a shared file that is being rolled back:

  1. Open or switch to Microsoft Visual SourceSafe.

  2. Locate the file that needs to be rolled back and open its History Window.

  3. Select the version to which you want to Rollback, and perform a Get Close the History window.

  4. Using File Manager or Windows Explorer, move the file from step 3 to a different directory.

  5. Switch to Visual SourceSafe, and Check-out the file that needs to be rolled back.

  6. Using File Manager or Windows Explorer, move the file from step 3 back to its working directory, overwriting the checked-out file from step 5.

  7. Switch to Visual SourceSafe, and check the file back in.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open or switch to Microsoft Visual SourceSafe.

  2. Locate a file that has several versions in its history and share it with another project.

  3. Open the file's History window and perform a Rollback to a previous version.

  4. Note that the rolled back file is no longer shared. Note that you may need to refresh the Explorer window to see the updated glyphs.

REFERENCES

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

   ARTICLE-ID: Q157082
   TITLE     : FIX: Branch or Rollback of Shared File May Cause Corruption

   ARTICLE-ID: Q157813
   TITLE     : BUG: Rollback of Shared File Rolls to Unexpected Version


KBCategory: kbprg kbprb kbhowto
KBSubcategory: ssusage
Additional reference words: 4.00 4.00a kbdss
Keywords : ssusage
Version : WIN3.X:4.0,4.0a
Platform : WINDOWS
Issue type : kbprb


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: January 28, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.