Microsoft KB Archive/168247

= BUG: Keywords Cause New Version When "Undo Check Out" Set =

Article ID: 168247

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual SourceSafe 5.0 Standard Edition

-



This article was previously published under Q168247



SYMPTOMS
When you check in unchanged files through the Visual SourceSafe Explorer, if you are using Keyword Expansion and have the setting:

Check in unchanged files set to "Undo Check out"

the file is still modified to reflect a new version and date/time. This did not happen in Version 4.0a build 1309.



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



Steps to Reproduce Behavior
 Open the SourceSafe Admin tool and set the Expand keywords in files of type to *.TXT. Close the Admin utility and create a text file that contains the following text:

$Archive: $ Visual SourceSafe archive file location

$Author: $ User who last changed the file

$Date: $ Date and time of last check in

$Header: $ Logfile, Revision, Date, Author

$History: $ File history, Visual SourceSafe format

$Log: $ File history, RCS format

$Logfile: $ Same as Archive

$Modtime: $ Date and time of last modification

$Revision: $ Visual SourceSafe version number

$Workfile: $ Filename

$NoKeywords: $ No keyword expansion for all keywords that follow.

 Add the text file to SourceSafe. In the SourceSafe Explorer, open the Options dialog box from the Tools menu and set the "Check in Unchanged Files" to "Undo Check out." Check out the text file and check it back in again. Show History of the file. Note that the file is modified and a new version is created even though the option is set to "Undo" the checkout.

Keywords: kbbug KB168247

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.