Disturbed means disturbed. Get to the previous step by getting previous version from your Revision Control system.
Next time, submit your work to the Revision Control code base more frequently.
Moreover, if you have any tiny chance, use it to
get rid of VSS — do yourself a great favor! Not only this system is not reliable enough, proprietary and practically not supported, it is also built on a number of simply ridiculous misconceptions. Main thing is: it is not transactional: when you submit a change, you are not guaranteed to have either fail or success situation as with transactions; instead, you might end up with a mixture of all an new files, which is a disaster.
A Revision Control System does not have to be proprietary, commercial, bulky and that bad. It can be Open Source, well-supported, flexible, light-weight and really dependable. It means — it should be.
See this discussion:
Revision control systems, which to choose from?[
^]. My advice is in one of the two answers, see what other people think.
—SA