On 29/07/11 20:59, Dan Collins wrote:
On Fri, Jul 29, 2011 at 2:52 PM, Ashar Voultoizhashar+wmf@free.fr wrote:
They can still commit their broken code but NOT IN TRUNK :)
Many developers (me) don't understand what there is other than trunk. I'm aware of tags and branches, and vaguely recall someone being yelled at for changing one of those, and was confused as to why there would be a whole part of the repo that couldn't be changed, and that was what old revisions were for. But is there also another special place to commit testing code?
A branch is just a copy of a directory with all history. You can copy trunk almost where ever you want under the /branches/ directory. There is a rough guide on mw.org:
http://www.mediawiki.org/wiki/Subversion/branching_guide
I myself put my branches under /branches/hashar/ As an example have a look at:
http://svn.wikimedia.org/viewvc/mediawiki/branches/hashar/
You will find 4 sub directories there which got forked from trunk at various point in the time: - node-qunit - old_stuff - prettyURL - syslog