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

Does php require a web server?

0 Answers  


Whether it is possible to share a single instance of a memcache between multiple php projects?

0 Answers  


How can cross site request forgery csrf be prevented?

0 Answers  


What are the features and advantages of object-oriented programming?

5 Answers   HCL,


How do you check is php not empty?

0 Answers  






Why php is better?

0 Answers  


"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.

0 Answers  


How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....

0 Answers  


What are the functions for imap?

0 Answers  


What is the difference between include and include_once ? Which is one is good in terms of performance ?

2 Answers   Dest,


What is meant by public, private, protected, static and final scopes?

0 Answers  


What is mean by an associative array?

0 Answers  


Categories