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) ?
Answer Posted / 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 |
Post New Answer View All Answers
What is difference between Method overriding and overloading in PHP?
What is the purpose of the php empty function?
What happens when submit button is clicked?
Can you extend a final defined class?
What is compact function php?
What is symfony php?
Can php replace javascript?
Tell me how to execute an sql query? How to fetch its result?
Does php support inheritance?
Tell me which function gives us the number of affected entries by a query?
How values in arrays are indexed?
How to check a variable is an array or not in php?
Why post method is used in php?
Is php an object or array?
what is PDO?