Solved

VSS: Rollback to a previous date

Posted on 2008-10-17
8
1,937 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
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…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

688 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