Version Control

If you are having a problem using Vault, post a message here.
Post Reply
johnwcurry
Posts: 9
Joined: Fri Oct 21, 2011 5:05 am

Version Control

Post by johnwcurry » Fri Oct 21, 2011 5:14 am

My code is at a released version, and I want to freeze the code on that version, while I continue to develop code for the next release.

I would, obviously, like to be able to retrieve the code as it was at the time of the released version.

I'm not sure how to do that...


John Curry

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Version Control

Post by lbauer » Fri Oct 21, 2011 7:43 am

You can apply a label. A label is a tag that marks your code at a specific version/point in time.

To do this, right click on the project root folder and select "Label." Provide a name for your label.

In the future you can then right-click on the project, select Show Labels and GET that label, or use the GETLABEL command from the Command Line Client for builds, etc.

Another option, if you want to eventually merge in code from your next release, is to create a branch, and work in the branch.

More details here:
http://support.sourcegear.com/viewtopic.php?t=9
http://support.sourcegear.com/viewtopic.php?t=193
Linda Bauer
SourceGear
Technical Support Manager

johnwcurry
Posts: 9
Joined: Fri Oct 21, 2011 5:05 am

Re: Version Control

Post by johnwcurry » Fri Oct 21, 2011 8:20 am

Got it! TYVM

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Version Control

Post by lbauer » Fri Oct 21, 2011 10:05 am

Let me know if you need anything else.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply