Subversion and Tortoise Training - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

Subversion and Tortoise Training

Description:

A version control system, successor to CVS. Manages files and directories over time ... http://svnbook.red-bean.com. http://subversion.tigris.org. http: ... – PowerPoint PPT presentation

Number of Views:613
Avg rating:3.0/5.0
Slides: 15
Provided by: brianr79
Category:

less

Transcript and Presenter's Notes

Title: Subversion and Tortoise Training


1
Subversion and TortoiseTraining
  • April 7th and 10th, 2006
  • Brian Rennick

2
What is Subversion?
  • A version control system, successor to CVS
  • Manages files and directories over time
  • Maintains files and directories in a central
    repository
  • Can manage any collection of files, including
    source code
  • Also known as SVN

3
What is TortoiseSVN?
  • A client for Subversion
  • A shell extension, integrated into Windows
    Explorer
  • Right-click in Windows Explorer to bring up the
    context menu

4
Work Cycle
  • Update your working copy (svn update)
  • Make changes
  • Examine your changes (svn status, diff)
  • Merge others changes into your working copy (svn
    update, resolved)
  • Commit your changes (svn commit)

5
Directories and Files
  • Commands can be performed on directories or
    individual files
  • Directory level operations cascade to
    subdirectories and files
  • Base files are cached locally in .svn directories

6
Revision Numbers
  • Incremented with each commit
  • Commands use --revision (-r) switch
  • Keywords head, base, committed, prev
  • Range --revision 123999
  • Dates --revision 2006-12-31

7
Branches and Tags
  • Cheap copy
  • Tags and Revision Numbers
  • Used for deployment tagging
  • Patching

8
Merging Others Changes
  • What if different people make concurrent changes
    to the same file?
  • svn status -show-updates shows potential
    conflicts
  • svn update creates temporary files or merges
  • svn resolved allows commit to proceed

9
SVN/Tortoise Translation
10
Repository Configuration
  • https//svn.umr.edu/user/userid
  • conf/access
  • conf/notify-list
  • Password cache

11
Initial Checkout
  • Create test and production directories on the
    server
  • Create directories in the repository svn mkdir
  • Checkout from repository to server svn checkout
  • Files in server directories are not modified by
    initial checkout
  • Do not import

12
Reference
  • http//svnbook.red-bean.com
  • http//subversion.tigris.org
  • http//tortoisesvn.tigris.org
  • svn command --help
  • TortoiseSVN Help
  • https//syswiki.cc.umr.edu/bin/view/Applications/S
    ubVersion

13
Old Environment
Subversion Repository
14
New Environment
Subversion Repository
Write a Comment
User Comments (0)
About PowerShow.com