1 / 7

Subversion tutorial Dusan Vudragovic dusan@phy.bg.ac.yu Scientific Computing Laboratory

Subversion tutorial Dusan Vudragovic dusan@phy.bg.ac.yu Scientific Computing Laboratory Institute of Physics Belgrade, Serbia. Subversion. Version control system Concurrent Versions System (CVS) Used by Apache Software Foundation, KDE, GNOME, Free Pascal,

sancho
Télécharger la présentation

Subversion tutorial Dusan Vudragovic dusan@phy.bg.ac.yu Scientific Computing Laboratory

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Subversion tutorial Dusan Vudragovic dusan@phy.bg.ac.yu Scientific Computing Laboratory Institute of Physics Belgrade, Serbia

  2. Subversion • Version control system • Concurrent Versions System (CVS) • Used by Apache Software Foundation, KDE, GNOME, Free Pascal, FreeBSD, GCC, Python, Django, Ruby, Mono,… • SourceForge.net, Tigris.org • Google Code, BountySource • ViewVC https://ui.phy.bg.ac.yu/viewvc

  3. Recommended usage • What is Revision? • What is Trunks? • What is Tag? • What is Branch?

  4. SVN additional configuration • Default editor • User certificate .subversion/servers • Initial project setup • Useful parameter export SVN_EDITOR=vi [groups] scl = ui.phy.bg.ac.yu [scl] ssl-client-cert-file=/home/dusan/.globus/usercert.p12 svn mkdir https://ui.phy.bg.ac.yu/svn/scl/<project> svn mkdir https://ui.phy.bg.ac.yu/svn/scl/<project>/trunk svn mkdir https://ui.phy.bg.ac.yu/svn/scl/<project>/tags svn mkdir https://ui.phy.bg.ac.yu/svn/scl/<project>/branches -m ‘<comment>’

  5. SVN Usage (1/3) • Importing an existing project • Checking out a project • Get info • Editing and adding files • Get a copy of the previous version svn import <path_to project> https://ui.phy.bg.ac.yu/svn/scl/<project>/trunk -m 'Initial import' svn import checkout https://ui.phy.bg.ac.yu/svn/scl/<project>/trunk svn info svn status svn add <filename> svn commit -m ’comment’ svn checkout –r xyz https://ui.phy.bg.ac.yu/svn/scl/<project>/trunk <destination_folder>

  6. SVN Usage (2/3) • Create tag • Deleting • Renaming • Create branch svn copy https://ui.phy.bg.ac.yu/svn/scl/<project>/trunk https://ui.phy.bg.ac.yu/svn/scl/<project>/tags/<project>-v1.0.0.-1 svn rm <filename_or_dirname> svn rename <source> <destination> svn copy https://ui.phy.bg.ac.yu/svn/scl/<project>/trunk https://ui.phy.bg.ac.yu/svn/scl/<project>/branches/<project>-v1.0.0.-1

  7. SVN Usage (3/3) • How to use Subversion with Eclipse http://subclipse.tigris.org/

More Related