Rollback
Moderator: SourceGear
Re: Rollback
Just to make sure I'm answering the right question.....do you really want to commit a rollback or do you just want to do a get of the label and overwrite all the files?
Re: Rollback
I want to make a complete rollback to the state the files where when the label was created. That is both in Vault and in the file folder. All editing and files added after this point will be deleted, so should also all labels created after this point.
Re: Rollback
Unfortunately, this won't be an easy thing to do. Vault doesn't have a concept of "Folder rollback". Even if you roll back the files one-by-one, the history will not really be deleted The old versions contents are checked in as a new version, rolling back the contents of the file, but not the version number. Then, after rolling back all of the files (and deleting any files that were not in the label, as well as undeleting or adding files that were in the label, but aren't in the folder now), you would need to loop over the labels applied to that folder and delete them one-by-one.
If you want to do all that, let us know, and we can start talking about how you would code it.
If you want to do all that, let us know, and we can start talking about how you would code it.
Subscribe to the Fortress/Vault blog
Re: Rollback
Thanks for your reply Jeremy, and yes, I really need to be able to do all this.
Re: Rollback
Please email support at sourcegear.com ATTN: jeremy with a link to this thread. I'll give you more detailed instructions over email.
Subscribe to the Fortress/Vault blog