Hello,
Ok..heres the skinny on our problem and need some advice on how to solve it.
For a web project he have code checked that builds correctly. We need to roll back a few files in this project and then want to label it. Once labeled I want to get the latest version of the rolled back files and create another label of the project.
We shold now have label of version A and of Version B.
What is the best way to do this in vault?
How to tackle this problem
Moderator: SourceGear
Before I make a suggestion, I need to entirely understand this part: " I want to get the latest version of the rolled back files." Do you mean that you then want those files rolled back forward?
If you do mean it that way, then there's no need to bother with rolling back at all. Put two labels on your current project. Then use label promotion on one of the labels to swap out some of files with their earlier versions.
If you do mean it that way, then there's no need to bother with rolling back at all. Put two labels on your current project. Then use label promotion on one of the labels to swap out some of files with their earlier versions.
that is correct.Beth wrote:Before I make a suggestion, I need to entirely understand this part: " I want to get the latest version of the rolled back files." Do you mean that you then want those files rolled back forward?
If you do mean it that way, then there's no need to bother with rolling back at all. Put two labels on your current project. Then use label promotion on one of the labels to swap out some of files with their earlier versions.
Would branching be ok in this case?
Are you wanting to branch on the label? Are you needing to branch on the older version?
You can pretty much branch any time, but the history of that branch starts at the time the branch is made. I'm not sure if that's going to get you what you want or not.
You might want to check out our Best Practices on Managing Branches.
You can pretty much branch any time, but the history of that branch starts at the time the branch is made. I'm not sure if that's going to get you what you want or not.
You might want to check out our Best Practices on Managing Branches.