Subversion Access

This page only applies to developers, if it’s all Greek to you, don’t worry!

After the 1.5 release we moved our source control off of the legacy Sourceforge CVS system and on to a modern Subversion repository. When we get confused about Subversion we use this great Subversion book that’s available for free online. Here are some quick tips for checking out and working with the WordPress repository.

This all assumes you have Subversion installed on the machine you’re working on. If you don’t, check out the links above.

To check out the latest WP codebase, try this checkout command:

svn co https://core.svn.wordpress.org/trunk/

This will "check out" all of the files you’ll need. To update your working copy later, go into the directory and run this command:

svn update

That will update all your file to the latest. If you’ve made a change you want to submit back to the core this will show you what files you’ve changed:

svn status

And this will output a line-by-line description of all the changes in a format that makes it easy for us to incorporate:

svn diff

You can output this to a file (.diff or .patch) by using redirection:

svn diff > my-patch.patch