Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Where are php configuration settings stored?

1084


How can we submit a form without using submit buttons?

1009


How to remove white spaces from the beginning and/or the end of a string in php?

1046


Which php mvc framework is best?

1075


What are the delimiters in php?

1007


When to use self over $this?

1049


What is the difference between the functions strstr() and stristr()?

1034


What are the advantages of indexes in php?

1089


How does php serialize work?

1107


What do the initials of php stand for?

1107


How to get the http request in php?

1040


What are php magic methods?

1040


What is php how it works?

1063


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

1087


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

994