SVNref: Free Cheat Sheets for Subversion Developers & Administrators

  • Written by an active member of the Apache Subversion project.
  • Have the information handy any time you need it.
  • Stay up-to-date with the latest tips and tricks with practical examples.
  • PDF File for viewing online or printing.

An Introduction to SmartSVN

SmartSVN is the cross platform, graphical client for Apache Subversion, from WANdisco. You can learn more about this popular client at the SmartSVN website, the SmartSVN blog and online documentation.

  • What is SmartSVN?
  • Why SmartSVN?
  • Basic SmartSVN Work Cycle
  • Getting More out of SmartSVN with Revert

Introduction to Locking

Although Apache Subversion is built around the 'copy-modify-merge' model, there are times when a 'lock-modify-unlock' model may be appropriate.

  • What is a lock?
  • Creating a Lock
  • Releasing a Lock
  • Stealing a Lock
  • Consider Some Alternatives

Hook Scripts

Put simply, hook scripts are executable programs that Apache Subversion users can configure to be triggered by a specific repository event.

  • What are Hook Scripts?
  • Where are Hook Scripts Located?
  • The Different Hooks
  • A Basic Pre-Commit Hook Script with Advanced Pre-Commit Hook

Getting More Out Of SmartSVN

SmartSVN's built-in Revision Graph tool provides a quick and easy way to get an overview of the hierarchical history of your files and directories. This history is primarily represented as 'nodes' and 'branches.'

  • Intro to the Revision Graph
  • Intro to the Repo Browser
  • Intro to Change Sets
  • Locking and Unlocking
  • Changing Log Messages in SmartSVN

Introduction to Merging in Apache Subversion

Along with branching, merging is the issue that regularly causes Apache Subversion users the most headaches. But merging needn’t be frightening! In this refcard, we cover:

  • What is 'Merging'?
  • How to Merge in Subversion:
    • Merge a Range of Revisions
    • Reintegrate a Branch
    • Merge Two Different Trees
  • Reverse Merge
  • Merging Feature Branches
  • Merging Best Practices

Introduction to Branching in Apache Subversion

For developers who aren’t familiar with version control, getting to grips with Apache Subversion’s branching functionality can be daunting. But, when used correctly, branching can be one of Subversion’s most powerful and useful features. In this refcard, we cover:

  • What is a Branch?
  • How to Create a Branch
  • Identifying Branches
  • Deleting Branches

All About the Subversion Commit Command

A quick reference guide to the Subversion Commit Command that covers topics such as:

  • Commit dialog options
  • Files or folders
  • Unversioned files
  • Ignored files
  • Drag and drop
  • Changelists
  • Common problems and how to avoid them

All About Checkouts

A quick reference guide on how to make full use of the checkout command and understand the messages it generates under different scenarios

Getting Started with Subversion

This course is aimed at developers who are new to Subversion.

Topics Covered:

  • What is Apache Subversion?
  • Basic Subversion Work Cycle
  • How to Install Apache Subversion
  • Creating Your First Subversion Repository
  • Getting Started with Command Line Subversion

Administration Best Practices

A quick reference guide to administration best practices that covers topics such as:

  • Setting policies and procedures
  • Training options
  • Repository organization
  • Backup and recovery issues
  • Use of hook scripts to control standards adherence