Subversion basics guide
Download
1 / 15

Subversion Basics Guide - PowerPoint PPT Presentation


  • 219 Views
  • Updated On :

Subversion Basics Guide. PONGTIP AROONVATANAPORN January 26, 2009. Outline. Motivation What It’s For URL Features Tortoise Eclipse. Motivations. Use of good configuration management practice Used by most organizations in the industry Avoid rework Version tracking Logs Revert

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Subversion Basics Guide' - michi


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Subversion basics guide l.jpg

Subversion Basics Guide

PONGTIP AROONVATANAPORN

January 26, 2009


Outline l.jpg
Outline

  • Motivation

  • What It’s For

  • URL

  • Features

    • Tortoise

    • Eclipse


Motivations l.jpg
Motivations

  • Use of good configuration management practice

  • Used by most organizations in the industry

  • Avoid rework

    • Version tracking

    • Logs

    • Revert

    • Conflicts and merge

  • Maintainability

  • Transition


Why subversion l.jpg
Why Subversion?

  • CVS with added features

    • Uses relational DB

    • Faster performance

    • Supports all file types

  • Available for many platforms

  • Easy to set up

  • Tools with UI support

  • Good internal structure

    • Opportunities for future improvements


What it s for l.jpg
What it’s for

  • CM Tool

  • Version control

  • Check in/Check out

  • Synchronize updates

  • Detect conflicts


Slide6 l.jpg
URL

  • Access

    • svn://brown.usc.edu:3690/cs577b09/Team##

      • Example: svn://brown.usc.edu:3690/cs577b09/Team01

    • Username: USC email ID

    • Password: <email ID>Team<##>!

      • Example: John Doe of Team 1 = jdoeTeam01!


Tools l.jpg
Tools

  • Tortoise SVN

    • http://tortoisesvn.net/downloads

  • Eclipse Plug-in

    • Subclipse (recommended)

      • Eclipse Update Site: http://subclipse.tigris.org/update_1.4.x

    • Subversive

      • Part of Eclipse Update Site -> Collaboration Tools

      • Need SVN Connector

        • http://www.polarion.org/projects/subversive/download/eclipse/2.0/ganymede-site/


Initial check out tortoise l.jpg
Initial Check Out (Tortoise)

  • Create directory on computer to download to

  • SVN Checkout…


Initial check out eclipse l.jpg
Initial Check Out (Eclipse)

  • Open SVN Repository perspective

  • Add SVN Repository URL

  • Right click the repository and select “Check Out”


Repo browser l.jpg
Repo-Browser

  • Repository browser


Update vs commit l.jpg
Update vs. Commit

  • SVN Update

    • Updates the working copy with the latest version in repository

    • Merges the version in repository with working copy

  • SVN Commit

    • Modifies the version in the repository

    • Merges the working copy with the repository


Adding deleting file l.jpg
Adding/Deleting File

  • SVN Add

    • Create file in the working directory

    • Right click on file and choose “Add…”

      • Add single files to the repository

        OR

    • Right click on the working directory and choose “SVN Commit”

      • Add all files/Changes to the repository

  • SVN Delete

    • Deletes locally until committed


Other basic features l.jpg
Other Basic Features

  • Revert

    • Reverts all changes of the working copy to the version since last commit

  • Get Lock

    • Locks the file so that it is only accessible by you

  • Release Lock

    • Releases the file to make it accessible to others again

  • View Difference (Diff)

    • View differences between working copy and the repository


Conflict resolution l.jpg
Conflict Resolution

  • File is simultaneously modified by multiple users

  • 3 Files created

    • Mine, OLDREV, NEWREV

  • The “TortoiseMerge” window

  • SVN Resolved


Advanced features l.jpg
Advanced Features

  • Refer to the user manual for more advanced features

    • Branch/tag

    • Revision graph

    • Relocate

    • Export


ad