Installing a Version Control System

When using an IDEIDE Integrated Development Environment. A software package that provides a full suite of functionality to software developers/programmers. Normally an IDE includes a source code editor, code-build tools and debugging functionality. (Integrated Developer Environment) application or a stand-alone GUI client application, chances are that a separate installation of Subversion or GitGit Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. Most modern plugin and theme development is being done with this version control system. https://git-scm.com/. will not be needed. Most of these applications include a local copy of the version controlversion control A version control system keeps track of the source code and revisions to the source code. WordPress uses Subversion (SVN) for version control, with Git mirrors for most repositories. system.

Installing Subversion on a Mac

Prior to OS 10.8 (Mountain Lion), Macs came with Subversion pre-installed. Subversion has since been moved to the Xcode developer package.

This article will walk you through the steps to install Subversion on your Mac.

Top ↑

1. Download The Package

You can install Xcode to set up Subversion on your Mac; however, the download package is around 1.5 GB.

Instead, you can download Apple’s Command Line Tools from Apple’s Mac Developer website. You will need an Apple ID to download the files.

Log in to Apple’s Developer tools. Search for Command Line Tools, and download the correct package for your operating system.

Top ↑

2. Install

Install the package.

Top ↑

3. Verify the installation

You can verify the installation by typing:

$  svn --version

You should see something like this:

svn, version 1.7.10 (r1485443)
   compiled Aug 13 2013, 15:31:22

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

Subversion is now installed and ready to use.

Top ↑

Installing TortoiseSVN

TortoiseSVN is an ApacheApache Apache is the most widely used web server software. Developed and maintained by Apache Software Foundation. Apache is an Open Source software available for free. Subversion (SVNSVN Subversion, the popular version control system (VCS) by the Apache project, used by WordPress to manage changes to its codebase.) client, implemented as a Windows shell extension. It’s intuitive and easy to use, and doesn’t require the Subversion command line client to run.

This section will walk you through the steps to install TortoiseSVN on your computer.

Top ↑

1. Downloading TortoiseSVN

Download the latest version of TortoiseSVN, and save the installer file to your computer.

Download TortoiseSVN

Top ↑

2. Installing TortoiseSVN

Next, you need to open the folder where you saved the file, and double-click the installer file. A security warning window will open, asking if you want to run this file. Click Run to start the installation process.

TortoiseSVN Open File Warning Screen

You will now see the welcome screen, which will confirm the version of TortoiseSVN that you are going to install. Click Next to continue.

TortoiseSVN Installation Welcome Screen

The next screen you are presented with is the End-User License Agreement (EULA). Read the agreement, check the radio button next to I accept the terms in the License Agreement, then click Next to continue the installation.

TortoiseSVN End-User License Agreement Screen

The Custom Setup screen will appear next. This screen will allow you to choose which components you would like to install. Unless you are dangerously low on disk space, you shouldn’t need to change anything. Click Next to continue.

TortoiseSVN Custom Setup Screen

Once the Confirm Installation screen appears, you are ready to start the installation process. Click Install to begin the process.

TortoiseSVN Confirm Installation Screen

The Installation Status screen will appear, which shows you the status of the installation process. Once the progress bar is completely green, click Next.

TortoiseSVN Installation Status Screen

The Installation Complete screen will now appear. Congratulations, you have now installed TortoiseSVN. Click Finish to complete the installation.

TortoiseSVN Installation Complete Screen

Top ↑

3. Configuring TortoiseSVN

TortoiseSVN adds a few items to your context menu during installation, including a way to access the settings panel. To review and change any of the default settings, right-click inside any folder, go to TortoiseSVN, then select Settings in the submenu.

TortoiseSVN Settings Menu Screen

The first screen you see is for the General Settings. You can change your language, configure system sounds, and check for updates.

TortoiseSVN General Settings Screen

Select Context Menu under General in the settings tree on the left side of the window. You can now choose which items will appear on the first-level context menu. The items you will be using often when contributing patches to WordPress will be Checkout, Update, Show log, Repo-browser, Create Patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing., and Apply Patch.

TortoiseSVN Context Menu Settings Screen

More information about the settings can be found in the Settings section of the TortoiseSVN documention.

Top ↑

Next Steps

Last updated: