![]() |
Branching with SourceSafe
I want to branch a project in SourceSafe from within VBP. Are there examples of how to do this?
|
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):
|
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 02:39 AM. |
Copyright © 1999-2023 Kinook Software, Inc.