Subversion tutorial - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Subversion tutorial

Description:

Enabling Grids for E-sciencE. FP7-INFRA-222667. EGEE Induction Grid training for ... KDE, GNOME, Free Pascal, FreeBSD, GCC, Python, Django, Ruby, Mono, ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 8
Provided by: dusa7
Category:

less

Transcript and Presenter's Notes

Title: Subversion tutorial


1
  • Subversion tutorial
  • Dusan Vudragovic
  • dusan_at_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_EDITORvi
groups scl ui.phy.bg.ac.yu scl ssl-client-ce
rt-file/home/dusan/.globus/usercert.p12
svn mkdir https//ui.phy.bg.ac.yu/svn/scl/ltproject
gt svn mkdir https//ui.phy.bg.ac.yu/svn/scl/ltproje
ctgt/trunk svn mkdir https//ui.phy.bg.ac.yu/svn/sc
l/ltprojectgt/tags svn mkdir https//ui.phy.bg.ac.yu
/svn/scl/ltprojectgt/branches
-m ltcommentgt
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 ltpath_to projectgt https//ui.phy.bg.ac.
yu/svn/scl/ltprojectgt/trunk -m 'Initial import'
svn import checkout https//ui.phy.bg.ac.yu/svn/sc
l/ltprojectgt/trunk
svn info
svn status svn add ltfilenamegt svn commit -m
comment
svn checkout r xyz https//ui.phy.bg.ac.yu/svn/sc
l/ltprojectgt/trunk ltdestination_foldergt
6
SVN Usage (2/3)
  • Create tag
  • Deleting
  • Renaming
  • Create branch

svn copy https//ui.phy.bg.ac.yu/svn/scl/ltprojectgt
/trunk https//ui.phy.bg.ac.yu/svn/scl/ltprojectgt/t
ags/ltprojectgt-v1.0.0.-1
svn rm ltfilename_or_dirnamegt
svn rename ltsourcegt ltdestinationgt
svn copy https//ui.phy.bg.ac.yu/svn/scl/ltprojectgt
/trunk https//ui.phy.bg.ac.yu/svn/scl/ltprojectgt/b
ranches/ltprojectgt-v1.0.0.-1
7
SVN Usage (3/3)
  • How to use Subversion with Eclipse
  • http//subclipse.tigris.org/
Write a Comment
User Comments (0)
About PowerShow.com