Possible Duplicate:
Get all files from VSS for a given date?
I need to get a complete project recursively as it existed on a specified date in the past. H开发者_运维问答ow can I do that without having to look at and selectively recover each individual file? Source Safe 8.0
Actually, it might be possible. Here are instructions I received from a co-worker (thanks Bruce!) for doing just that with SourceSafe 6:
- In the VSS database, select the top-most project (not an individual file in the project) that you are interested in.
- Get the history for that project, making sure that the "Recursive" and "Include file histories" check boxes are selected. The "Include Labels" check-box is optional, but you definitely don't want "Labels only."
- Select the file / date you're interested in from the history list box.
- Click the "Get" button.
- Click the "Yes" button on the pop-up dialog that asks, "Get the entire project containing this file version?"
Hope this helps (for next time).
If that particular version was not branched out or labelled, I believe you have no choice but to manually check and recover each file from Visual Sourcesafe.
More information on labelling and branching and sharing for Visual Sourcesafe over at MSDN.
If you have a choice of using another SCM, I would recommend using Visual SVN to integrate an SVN Server with Visual Studio.
精彩评论