Difference between revisions of "Help:Subversion"

From Biowikifarm Metawiki
Jump to: navigation, search
m
m (+DEFAULTSORT)
Line 19: Line 19:
  
 
[[Category:Help]]
 
[[Category:Help]]
 +
{{DEFAULTSORT: {{PAGENAME}}}}

Revision as of 14:23, 30 December 2010

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 files for the FIRST time into /usr/share/mediawiki/extensions/SemanticForms/
sudo svn checkout --revision r69050 http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticForms/
# just an update
sudo svn update --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.