BUG: Recursive History Fails if Used With -f- Switch (193585)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0

This article was previously published under Q193585

SYMPTOMS

When the SourceSafe History command is used on a project with the -r (recursive) and -f- (Do Not Display Individual File Updates) switches, the -r switch does not work correctly.

CAUSE

This problem only occurs when using the -r and -f- switches together.

RESOLUTION

Use the SourceSafe Explorer to generate a recursive project history that does not show file updates.

To accomplish this, clear the "Include file checkins" option in the Project History Options dialog box.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

From the SourceSafe Explorer:
  1. Create a project named TestProj under $/, then add a subproject named SubProj under TestProj.
  2. Add some files to the TestProj and SubProj projects. Next, check out, modify, and check in the files to create some history for the files.
From the Command Line:
  1. Set the current database with the following command:
         set ssdir = <path to SourceSafe directory>
    						
  2. Get the history for the project, $/TestProj in addition to the subprojects for $/TestProj with the following command:
          ss history -r -f- $/TestProj
    						
Notice that only the files contained in $/TestProj are listed instead of the files in both the $/TestProj and $/TestProj/SubProj directories.

REFERENCES

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

128723 HOWTO: Reference a Time on the Command Line

Visual SourceSafe Books Online; search on: "History"

Modification Type:MinorLast Reviewed:3/10/2005
Keywords:kbBug kbCommandLine kbpending KB193585