Many people have used Subversion to install WordPress or have installed WordPress into its own directory. You can combine these techniques to create a “clean” Subversion installation in which the user’s custom files (wp-config.php and wp-content/) are stored outside of the WordPress application directory, so that user files and files under version control never overlap. (Original credit to Sam Bauers for presenting these instructions at WordCampUK.)
Check out a working copy and install
Create the new location for the core WordPress files to be stored (we will use /wordpress in the examples).
Following the New Install using Subversion instructions, check out (Subversion command co) the stable version of WordPress you have chosen. Do not type the $ characters — they are just indications of the command prompt. Here is the command (assuming the version you want is 2.9.1):
$ svn co http://core.svn.wordpress.org/tags/2.9.1 .
When the download is complete, edit the wp-config.php (see editing wp-config.php) ignoring the Advanced Options and save the file within the root directory (http://example.com/).
Above commands will fun on any linux distribution.
For more information go to following links