Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Branching with SourceSafe (https://www.kinook.com/Forum/showthread.php?t=1079)

SpartanHokie 06-03-2005 11:28 AM

Branching with SourceSafe
 
I want to branch a project in SourceSafe from within VBP. Are there examples of how to do this?

kinook 06-07-2005 07:12 AM

SourceSafe doesn't support branching of projects, only files. Branching a file would work like this (tested by adding to the SourceSafe.bld sample, copy and paste the text below into VBP):



-1
Branch test
2
%SAMPLEDB%
-1
Branch
$/Source/FirstVB/First.frm
0
0
0
1
%SSUSER%
1
Branch Test
1
Branch
1

Albert 08-30-2006 02:44 PM

Share & Branch in a single step
 
I was able to Share and Branch an entire project recursively. Try this:

1st. Use the CP step to set the current VSS project to the one you are branching to / sharing with. For example $/Build History/v 1.0.0.0

2nd. Create a SHARE step and set this to the project that contains the source code. For example $/Source. Also, on the options tab enter -R -E in the text box for additional command line arguments.

The -R command line argument tells VSS to act recursively on the project and the -E argument tells it to branch after sharing. You can't branch a project in Source Safe unless you first Share it.

That's it. I was able to Share and Branch in one step. It works very nicely. Let me know if you have any trouble using this method.


All times are GMT -5. The time now is 01:29 PM.


Copyright © 1999-2023 Kinook Software, Inc.