Solved

VSS: Rollback to a previous date

Posted on 2008-10-17
8
1,921 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SAPE.heur.AE935 Visual Studio 3 63
onenote 2016 sync 40 293
ClickOnce Install - Shortcut Question 3 109
What are the big features of MVC5? 4 96
This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

733 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