Tuesday, September 18, 2007

Creating a new code version in visual sourcesafe

We needed to "branch" a new version of visual sourcesafe, but we couldn't get it working because the "branch" link was always greyed out when we clicked on a file.

Finally figured out that you have to "Share" the file, before you can branch it. Sharing + branching is essentially the same as copying, but do they call it that? Nooooooo. This microsoft page had some help, but it wasn't very clear. Here's how we got it to work.

  1. Right-click the parent directory (the shared files will go in a sub-directory of this directory
  2. Select "Share to ... blahdeblahdeblah ..." on the menu.
  3. A dialog will appear. Navigate to the directory you want to copy.
  4. Click the "Branch after share" checkbox.
  5. Click "Share"
  6. Name your new directory, and click the "Recursive" checkbox (to copy all sub-directories)

No comments: