Help:Subversion

From Biowikifarm Metawiki
Revision as of 15:08, 12 October 2010 by Andreas Plank (Talk | contribs)

Jump to: navigation, search

Subversion is used to control different versions of files and directories. Here a short cheat sheet. A good documentation is available at http://svnbook.spears.at/nightly/en/ Flag icon en.png or http://svnbook.spears.at/nightly/de/ Flag icon de.png.

cd /usr/share/mediawiki/extensions/
# will copy all fils into /usr/share/mediawiki/extensions/SemanticForms/
sudo svn checkout --revision r69050 http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticForms/

# query status
cd /usr/share/mediawiki/extensions/SemanticForms/
svn status
# '?' not in version control
# 'A' Item is scheduled for addition.
# 'D' Item is scheduled for deletion.
# 'M' Item has been modified.
# 'C' The contents (as opposed to the properties) of the item conflict with updates received from the repository.