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?
Answer Posted / 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 View All Answers
Can we import data from sourcesafe into sourceanywhere?
I checked in modified code into vSS . Now I have another working area and which has older version. Now I wanted to findout the difference between VSS and older version in another working area which is not the VSS area. Now the question is after getting difference between the VSS and another working area. There will be some files difference. How do I take only difference files recursively into some other area.
What is Merge Conflicts?
Is there some way to automate email notification when of VSS changes?
How can I tell which files in the database correspond to files in my project?
How to Save a Package as a Separate File?
How does one implement SourceSafe integration with FrontPage 2000/ 8?
How do I find all changes between two dates?
How to Create a New Shared CaseComplete Project?
How can I use SourceSafe to version stored procedures with Visual Studio 6.0 and SQL Server 7.0?
Which DB using by Visulal Source Safe ? Can we assign our won database to VSS? or it have any default DB ?
How can I disable the integration between VSS and Visual Studio?
How to Create a Working Folder for a Shared Project?
When any person create a new file in the project, he will add it to the Source Control System in the correspoding to folder. This process is called "Checkin". Most of the source control systems provide a windows explorer like user interface. You can checkin files in different ways: 1. Drag and drop files from windows explorer to appropriate folder in source control explorer. 2. Go to appropriate folder in source control system, right click on the folder name and select 'Add Files'. This will launch a file browser which will allow you to select files. 3. Integrate with Visual Studio - most source control systems are integrated with Visual Studio when you install their client software. This is the easiest way to work with source control systems. When you right click on any file in the Solution Explorer in Visual Studio, it will give you the option to checkin or checkout files. After you add (checkin) a file to source control , the file is "controlled" by source control system. If anybody want to change the file (including the person who created the file), he has to "checkout" the file from Source control. When you checkin a file to source control, it will make the file in your computer 'Read only' so that you cannot edit it. This is to remind you that the file is controlled by source control system. You can add new files to source control, but you cannot checkin an existing file unless you have checked out that file.
The integration isn’t working between VSS and FrontPage/Visual InterDev. What can I do?