SVN Trunk
About Subversion
SVN (Subversion) is a tool used by many software developers to manage changes within their source code tree. SVN provides the means to store not only the current version of a piece of source code, but a record of all changes (and who made those changes) that have occurred to that source code. Use of SVN is particularly common on projects with multiple developers, since SVN ensures changes made by one developer are not accidentally removed when another developer posts their changes to the source tree.
Information about accessing this Subversion repository may be found in our document titled "Subversion (Version Control for Source Code)".
In order to access a Subversion repository, you must install a special piece of software called a Subversion client. Subversion clients are available for most any operating system. Information about Subversion client software may be found Sourceforges document titled "Recommended User Software Configuration".
Subversion Access
The XBMC project Subversion repository is hosted by SourceForge.net can be checked out through SVN with the following instruction set:
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc xbmc
(This is a generic Subversion checkout command which will pull all modules, tags and/or branches of the project. Please refer to project home page for specific SVN instructions, or use "Browse Repository" link; in most cases, you will want to add '/trunk' to the HTTPS URL above to check out only trunk (main development line)).
Information about accessing this Subversion repository may be found in the Source Forge document titled "Subversion (Version Control for Source Code)".
Updates from within the module's directory do not need the URL string.
NOTE: UNIX file and directory names are case sensitive.
SVN Checkout commands with specifc paths. These commands will check out to the current working directory. Read SVN Paths to find out what is stored in each of these paths.
- svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/XBMC
- svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/sources
- svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/mplayer
- svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/docs
SVN Paths
- svnroot/xbmc/trunk is the main working copy of XBMC and is classed as bleeding edge, this is where point releases are from.
- svnroot/xbmc/tags features specially 'tagged' revisions of XBMC and mplayer and parts of XBMC.
- svnroot/xbmc/branches is forks of the trunk that are made for specifc peurposes and for adding additional functionality.
Inside the trunk there are four sub folders
- XBMC/ which is holds the core of XBMC
- docs/ which includes extra material such as sources for other libaries not found in the sources or XBMc folder
- mplayer/ which holds the port of mplayer for xbox used by XBMC
- sources/ which holds additional sources for libaries and parts of xbmc, such as paplayer, screensavers, libxbms
Anonymous access with TortoiseSVN
If you have TortoiseSVN, you can skip the first two steps.
- Get TortoiseSVN installer from the TortoiseSVN site
- Install TortoiseSVN
- Right click in a directory and click "SVN Checkout"
- Enter URL of repository: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/XBMC in the dialog window. (Note this will
only download main XBMC trunk. If you also want source documentation and mplayer source, omit the last "/XBMC")
- Click ok and wait for all the source tree to download.
SVN WebBased Viewer
Sourceforge also provides a web based interface to view the sourcecode in the Subversion repository.
Web Based Subversion Viewer for XBMC