Solved

VSS: Rollback to a previous date

Posted on 2008-10-17
8
1,884 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
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22757300
Tags should be visible in the history. Right click and view history
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now