Solved

VSS: Rollback to a previous date

Posted on 2008-10-17
8
1,910 Views
Last Modified: 2012-06-22
Hi there

Is it possible to rollback VSS to a certain date? Basically what I want to do is rollback a project to a certain date, say 01/01/2008. And what I want is all the project files that were current on that date.

Thanks
Leon
0
Comment
Question by:leapingleon
  • 5
  • 3
8 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739012
Hello leapingleon,

Files could have had multiple versions on the same date. Did you create a tag for the repository state to which you wish to rollback?

Regards,

sunnycoder
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739045
0
 

Author Comment

by:leapingleon
ID: 22739076
Sorry, still new to VSS so not too clued up on it. The previous web developer left, and I am trying to figure all this stuf out.

I think they are labelled with the version number, but think the same problem you mentioned will occur as they are only labelled once a new version went live.

Is there anyway I can check for this tag you are talking about?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 45

Expert Comment

by:sunnycoder
ID: 22757300
Tags should be visible in the history. Right click and view history
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22757308
tags are called labels in VSS
0
 

Author Comment

by:leapingleon
ID: 22757664
Hey there

Firstly, my version of VSS is very old and I cant seem to find the Rollback option in the View History dialog box. Dont know if it is a new version or what.

Secondly, I think my wording in the question was a bit wrong. I dont want to lose any of the changes in VSS, all I want to do is get a version at a certain date. Bascially what happened is that the previous developer started re-coding our site with drastic changes, giving it a complete overhaul. He checked these newer version into VSS over the older version. However, the older version is still the live and current version and I need to make a few small changes to it. I cant do a get latest version as it is the one that is currently being re-built, I need to get a version of the older one.

Makes sense?
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 22757829
Typically when such a change is undertaken, the repository is labeled. The history should show you the labeled revisions. See if you find something interesting there.
I dont have access to a comparable installation or I would have been able to give you precise steps but what you want to do here is to check if your repository was labeled at that point of time. If yes, then check out using that label. From your post it sounds like rollback would not be a good option. Rollback means undoing all changes since that date and reverting the repository to older code while all you want is to be able to branch off from older revision and let development continue with the current repository.
If you check help on your installation you should be able to get information as to how to checkout code from a specific label.
0
 

Author Closing Comment

by:leapingleon
ID: 31507078
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question