Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How does sourcesafe store files 2

Status
Not open for further replies.

jhaag

Programmer
Apr 17, 2003
5
0
0
US
Does source safe store copies of each file in its entirety or does is only store the changes made since the original was added to the project?

 
It seems to store the file in its entirety. So if there's a problem, you can go back to a previous version.

Jessica [ponytails2]
 
thanks, jessica. that is what i needed.

j
 
VSS stores it's files using a recursive delta.

That means the latest version of each file is stored but to get previous versions it just keeps deltas(Changes)

-Sean
 
That's good to know. That must be why it gets a little slow when trying to view 15 versions ago.

Jessica [ponytails2]
 
Visual SourceSafe stores files using an 8 letter naming convention and in sets or filepairs. When you create a sourcesafe databse, the first item created in the database is the aaaaaaaa and aaaaaaaa.a. This is essentialy root or "$/". The next file or project you add or create (foo.c) will take on baaaaaaa and baaaaaaa.a. and so on. When you check out your first file foo.c or whatever, you go into the VSS database and open that baaaaaaa.a file. When you make a change to it, the new version is saved as baaaaaaa.b and a log is made in the baaaaaaa file.

So, to answer your question, VSS stores the most recent version of the file and then records the recursive delta information (as SeanGriffin stated) to the log file.

Hope that helps :)

Brett Keown
VSS / Team Development
Microsoft Developer Communities Team

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top