Difference between revisions of "Help:Subversion"
From Biowikifarm Metawiki
m |
m |
||
Line 3: | Line 3: | ||
<source lang="bash"> | <source lang="bash"> | ||
cd /usr/share/mediawiki/extensions/ | cd /usr/share/mediawiki/extensions/ | ||
− | # will copy all | + | # 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/ | 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 | # query status |
Revision as of 09:40, 14 October 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/ or http://svnbook.spears.at/nightly/de/ .
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.