BUG: Branching a file gives "A more recent version is checked out" (238188)



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 Q238188

SYMPTOMS

If you try to branch a shared file you get the following error message:
A more recent version is checked out.

CAUSE

This error is seen when both of the following conditions are true:
  • The file you are trying to branch is pinned at a previous version.
  • The file it is shared with is currently checked out.
SourceSafe doesn't let you branch the file at a previous version while a more recent version is checked out.

RESOLUTION

To resolve this problem, see the following:
  • Check the shared file back in.
  • Perform the branch from the command line.

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

  1. Share "$/Project1/file1" in SourceSafe to a new location, "$/Project2/file1".
  2. Pin "$/Project2/file1" at current version.
  3. Check out "$/Project1/file1" and make a change.
  4. Check "$/Project1/file1" back in.
  5. Check "$/Project1/file1" back out again.
  6. Branch "$/Project2/file1".

REFERENCES

Additional information can be found in the Visual SourceSafe product documentation by searching for these titles:
  • Branch shared files, how to
  • Command line, branch

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport kbSSExplorer KB238188