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
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 |
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What are php variables?
What is difference between readonly and constant?
Explain Whitespace Characters?
Does apache use php?
What do you mean by core php?
How can we extract string 'techinterviews.com' from a string 'http://www.techinterviews.com' using regular expression in PHP?
What is uri routing?
Why using the htaccess file
What are the differences between GET and POST methods?
How is csrf token generated?
How do you run a php script from the command line?