FIX: Rollback of a Shared File Rolls to Unexpected Version

Last reviewed: January 28, 1998
Article ID: Q157082
The information in this article applies to:
  • Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, versions 4.0, 4.0a, 5.0

SYMPTOMS

When you Rollback a Shared file, the resulting version number may appear to be incorrect. For example, if your file contains 8 versions, and you elect to Rollback from version 8 to version 7, the History window will indicate that you rolled back to version 8, not 7 as expected.

CAUSE

When you Rollback a Shared file, SourceSafe forces a Branch to occur. The additional version number is a result of the Branch that takes place when a shared file is rolled back.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

This problem has been fixed in Visual SourceSafe 5.0.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open or switch to Microsoft Visual SourceSafe.

  2. Select a file that has several versions and share it with another project.

  3. Open the History Window, and select the previous version of the file. For example, if there are 10 versions, select version 9.

  4. Select the Rollback Command Button. You will be presented with a dialog that notifies you that Rollback is undoable. Click the Yes Command Button.

  5. Note that the topmost item in the History Window is still the version number that you rolled back from. The Action column also indicates that you rolled back to the version number that you were rolling back from. For example, if you were rolling back from version 10 to version 9, after the Rollback the History Window still shows 10 versions, with version 10 reading "Rolled Back to Version 10."

REFERENCES

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

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

   ARTICLE-ID: Q156717
   TITLE     : PRB: Rollback of Shared Files Forces a Branch
Keywords          : ssusage kbusage
Version           : 4.0,4.0a,5.0
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


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.