问题
Is there a way I can ask Visual source safe to get all the files from a given date for a project? We don't use labels, so I can't roll back to a specific label and am hoping that I can somehow just call a certain date range to get the files as they existed on a specific date? Impossible?
回答1:
As far as I know you have to use the get command at a command prompt, not the gui. Something like this should do:
ss Get "$/AFolder" -R -Vd15-03-2009;2:00a
The -R option makes the get recursive and the -vd option gets the version at the specified date.
回答2:
You can right-click the project, choose Show History and get the version of a given date from the history explorer.
回答3:
Using SourceSafe: Get by Date
http://web.archive.org/web/20120615102028/http://brennan.offwhite.net/mtblog/archives/000282.htmll
回答4:
Using the command line, use the get command with the -Vd parameter
ss get $/Project -R -GTU -Vd4/30/2009;3:00a
I'm not sure, but I don't think there is a way to do this with the ui.
来源:https://stackoverflow.com/questions/911426/get-all-files-from-vss-for-a-given-date