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?
Asked
Active
Viewed 1.8k times
4 Answers
20
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.

Martynnw
- 10,625
- 5
- 28
- 27
-
4Be sure to use the date/time format as used in the VSS database – Lars Truijens Aug 06 '09 at 11:02
2
You can right-click the project, choose Show History and get the version of a given date from the history explorer.

Catherine
- 101
- 1
-
1That only works if a change was made on the particular date and time that you are interested in. If you want to grab a snapshot from between checkins, you have to use the command-line. – bta Jun 22 '10 at 14:13
2
Using SourceSafe: Get by Date
http://web.archive.org/web/20120615102028/http://brennan.offwhite.net/mtblog/archives/000282.htmll

Robert Harvey
- 178,213
- 47
- 333
- 501
-
Looks original page is dead. Maybe this helps:http://web.archive.org/web/20120615102028/http://brennan.offwhite.net/mtblog/archives/000282.html – Manuel Alves Aug 02 '17 at 07:20
1
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.

crashmstr
- 28,043
- 9
- 61
- 79
-
You can use this format in the 'get' dialog box too. Enter "d15-03-2009" in the label field. It can be confusing though as you don't get an error message if the date format is wrong (it just doesn't update the files.) – finnw May 26 '09 at 16:24
-
I know you can use a date in the Show History dialog, but at least in VSS 2005, there is only a "Get Latest" that I can find, and it does not have any label field. – crashmstr May 26 '09 at 16:30
-
See Robert Harvey's post for more details http://web.archive.org/web/20120615102028/http://brennan.offwhite.net/mtblog/archives/000282.html – Manuel Alves Aug 02 '17 at 07:21