This question is regarding version control.
If two developers are committing the same php file at same
time what will happen ? What error it will show (if any) ?

Answers were Sorted based on User's Feedback



This question is regarding version control. If two developers are committing the same php file at s..

Answer / jp

It just basically depends on what kind of version management
software you're usingĀ·

As far as I'm concerned, if you're using a Subversion
server, then one of the people will have to wait until the
other commits the file. The records are blocked so can't be
edited by two or more people at the same time.

So when one fully commits their files, the other person will
see a 'conflict', because of their revision being older than
the revision on the SVN Server. They can solve the conflict
by marking 'Solved', and decide which file will stay on the
server, either the previous one, the one that you have or
the one that the person just committed.

Is This Answer Correct ?    7 Yes 1 No

This question is regarding version control. If two developers are committing the same php file at s..

Answer / ratan

programm save error will be found.

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More PHP Interview Questions

Write a program to find a string is palindrome or not?

0 Answers  


What is htmlentities function in php?

0 Answers  


How to create a table using php?

0 Answers  


How can you retrieve data from the mysql database using php?

0 Answers  


How can a cross-site scripting attack be prevented by php?

0 Answers  






What is foreach loop in php?

0 Answers  


1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?

8 Answers   TCS,


What is php and sql used for?

0 Answers  


How many functions are there in php?

0 Answers  


What is difference between echo and print in php?

0 Answers  


How many types of inheritances used in php and how we achieve it.

0 Answers  


what is the dirrence in PHP4 & PHP5 . ?

8 Answers  


Categories