Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LABELs and BRANCHing and SHARING oh my
Message
From
20/01/2004 11:59:51
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Miscellaneous
Thread ID:
00868377
Message ID:
00868590
Views:
15
Hi Shawn,

We had a similar problem, and at a certain point, our "FOO1.0" project could no longer be maintained under source control. Our solution was a combination of 2 and 3. We shared the entire project to "FOO1.6", and branched individual files as necessary. For shared files, this allows you to implement a fix once that will apply to both projects. You can branch files that contain new "FOO1.6" features. I have some notes on our specific implementation that I can email you, if you're interested. The VSS docs aren't very good. There is also a book available at www.hentzenwerke.com.

>I'm having a problem trying to understand the best way to implement versioning with options such as LABELS, BRANCHing, SHAREing and PINing. I'd like to layout my intent and get peoples opinions on the best way to implement.
>
>Product FOO is starting from scratch. Its a VFP project with forms and programs and with nested directory structure. At the beginning all of the files are added to a VSS project under the root called FOO
> $/FOO/
>
>Development is done on Version1.0
>The build and testing are successful and we're ready to start working on version 1.6 which will be our second quarter release.
>
>At this point should I
>

    >
  1. LABEL the entrie project "V1.0" and then use that to maintain
    > version

  2. >
  3. BRANCH a new project under the root $/FOOv1.0

  4. >
  5. SHARE (not really even sure how that implements)

  6. >

>I tried the LABEL method and here's what I found
>

    >
  1. continued development on v1.6

  2. >
  3. Found a bug in core code of v1.0 that must ship immediately

  4. >
  5. Do NOT want to introduce other problems by including the
    >current source

  6. >
  7. Navigated VSS history and downloaded all files for "V1.0"

  8. >
  9. Modified v1.0 problem file and recompiled.

  10. >
  11. Succesfully got my "patched" v1.0 program

  12. >

>Now this is the point I hit some issues.
>

    >
  1. Check-in the modified v1.0 file

  2. >
  3. Label that file "V1.0" so that it applies to that "Label section" of the VSS DB

  4. >
  5. Do get latest version

  6. >
  7. The modified file from v1.0 that was checked in and re-labeled "V1.0" comes down with the latest version (expected latest version of file after those labeled "V1.0")

  8. >

>I was able to fix as
>

    >
  1. Use VSS history to find the v1.6 file version in the list

  2. >
  3. GET that version of the file down to the v1.6 working directory locally

  4. >
  5. Check out file of VSS (did not get local copy though... already have from above)

  6. >
  7. Check in file again to make it the latest version

  8. >
  9. Now a GET LATEST version works as expected.

  10. >

>
>The problem is this seems like a methodology that will invite errors (regarding using the labels...check-in...etc from above). So I'm thinking if I understood the BRANCHing and SHAREing better I might have my answer.
>
>So I'll be working away "Brute-Force" style trying to get the answers, but I appreciate any insights from those who have been victorious with their sourceSafe battles.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Reply
Map
View

Click here to load this message in the networking platform