If two users check out a project file, how does Visual SourceSafe avoid overwriting changes made by one user when the other user checks in their copy of the file?



If two users check out a project file, how does Visual SourceSafe avoid overwriting changes made by ..

Answer / sonakshi

Let us assume that UserA and UserB checked out the same project file, Proj1.vbp. UserA changes the file and checks it in. This will update the file stored in the Visual SourceSafe database. UserB changes their local copy of the file and checks it in. Before updating the server copy, Visual SourceSafe will compare the files in UserB's working folder and the file stored in the Visual SourceSafe database. If UserA and UserB have made different changes to the same parts of the vbp file, Visual SourceSafe will display the Visual Merge window and give UserB the opportunity to specify which changes he or she wants to keep.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VSS Interview Questions

Is there some way to get a list of errors from Analyze?

0 Answers  


How do I know that a file has been Checked Out by some other user?

1 Answers  


How do I ‘get’ with respect to a label?

0 Answers  


Are there any third party articles which compare VSS with other source code control products?

0 Answers  


How do I reconnect a project after the shared workspace file loses the project location?

0 Answers  






How can I tell which files in the database correspond to files in my project?

0 Answers  


Is there a way to enable easily switching between multiple source code providers?

0 Answers  


Can we import data from sourcesafe into sourceanywhere?

0 Answers  


How to Put an Existing Model under Version Control?

0 Answers  


How can I get around the synchronization issue such that deletes and renames from VS.NET do not get synchronize with VSS as described in Q305516?

0 Answers  


What is Multiple Checkout?

0 Answers  


How do I display a custom message box during Add Item, Check In, Ckeck Out, Undo Checkout, Branch, and Rename?

0 Answers  


Categories