Vault Version 3.5.2 (5087)
Visual Studio 2010
Windows XP, all the SPs
Hi,
I have seen various posts to this support forum online via Bing regarding Rollback being greyed out, but none of the causes I found appears to apply to my situation. I have a labeled version of my project. I made changes to it last night that I checked in. I then made another label. Now I want to restore the previously labeled version. The file versions changed (because I checked them in prior to making the new label). When I show the history of the project, I see the files I changed last night and the labeled version that I want to restore. I select that version and right-click, but Rollback... is greyed out. This is not the first time I've tried to roll back, and have done it successfully before. Why can't I do it now, and how do I fix this situation (without searching for the previous version of each individual file and getting a copy of it, putting it somewhere else, and then checking out the file and replacing it with the older version)?
Thanks,
JT
Rollback greyed out
Moderator: SourceGear
-
- Posts: 24
- Joined: Tue Aug 01, 2006 2:18 pm
- Contact:
Re: Rollback greyed out
When you label a folder, you are labelling a particular version (changeset) of the folder. You can rollback an individual file to an earlier version, but not a folder. That's why it's grayed out.
If you were to click on a labeled file, rollback should be enabled.
You would need to use a workaround to go back to an earlier folder or label version. However, you don't have to do it one file at a time. You can get the entire label or folder version to another location on disk, checkout your folder, and replace the contents with the label copies. Details here:
http://support.sourcegear.com/viewtopic ... 13&t=12594
If you were to click on a labeled file, rollback should be enabled.
You would need to use a workaround to go back to an earlier folder or label version. However, you don't have to do it one file at a time. You can get the entire label or folder version to another location on disk, checkout your folder, and replace the contents with the label copies. Details here:
http://support.sourcegear.com/viewtopic ... 13&t=12594
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 24
- Joined: Tue Aug 01, 2006 2:18 pm
- Contact:
Re: Rollback greyed out
Well, I was able to do that, but I thought part of the allure of creating a label was that if you wanted to, you could "roll back" to a previous application state, such as, I thought what I did fixed the problem, but it made things worse, so I neeed to go back to the previous versions of all 17 files. I thought you could click on the label in the history and roll back all the changes that had been done subsequently, and I thought I had successfully done exactly that in the past. Am I mistaken? Did I do that on a later version of Vault?
Re: Rollback greyed out
Vault doesn't support rollback to folder version, and a label is basically a folder version. Label is generally used to GET from a particular time/known state, like a software release, patch, etc. It is often used for builds. Some continuous integration systems label after every checkin.
We do have a feature request logged for folder rollback; I'll add your vote.
We do have a feature request logged for folder rollback; I'll add your vote.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager