Book Image

TortoiseSVN 1.7 Beginner's Guide

By : Lesley Harrison
Book Image

TortoiseSVN 1.7 Beginner's Guide

By: Lesley Harrison

Overview of this book

<p>TortoiseSVN is a Subversion client that gives you quick and easy access to all of Subversion's features. Perhaps you are aware of the importance of version control in software development or document management, but do you know how to use TortoiseSVN for efficient project management? Here is the first book about version control with TortoiseSVN.</p> <p><em>TortoiseSVN 1.7 Beginner's Guide</em> provides a comprehensive coverage of TortoiseSVN in its entirety. It is easy to follow the instructions with clear explanations and screenshots. This book will introduce the important features of TortoiseSVN and at the same time, give you a deeper and clearer understanding of the basic functionality, providing the answers to many questions that are encountered when using TortoiseSVN. TortoiseSVN is a client to SVN, but with this book and TortoiseSVN, you don't need to know anything about SVN, or wade through boring version control theory to get started using one of the most powerful version control applications in the world.</p> <p>The book begins by introducing you to the basics of TortoiseSVN and tools needed to get started with version control. It then dives deep into details, covering the methods available to check and commit changes and keep track of data. Chapters cover conflict management, branching and merging of a project to avoid disturbing the main development version, using TortoiseSVN with popular bug-tracking systems, and much more.</p> <p>By following the practical steps in this book, you will learn every aspect of using TortoiseSVN—from setting up the subversion server, to working with revision logs, and providing security and protection for your subversion server.</p>
Table of Contents (19 chapters)
TortoiseSVN 1.7
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – setting up SVNServe


  1. Download the CollabNet Subversion Server and client for Windows from http://www.collab.net/downloads/subversion - you will need to create an account to do this, but don't worry, registration on CollabNet is free, and they won't share your e-mail address with anyone.

  2. Run the installer, and follow the on-screen instructions. As we want SVNServe only, deselect the Apache(MOD_DAV_SVN) option and click Next.

  3. Ensure that the Install svnserve to run as a Windows service option is checked. For most people, the default Port is OK. Choose a Repository Path which matches the path you created for your repositories in the previous "Time For Action". In the case of Shiny Moose Software, the default path is correct.

  4. In most cases, the options on the Automatic Updates screen can be left at the defaults. If you use a proxy to connect to the internet (which is unlikely, unless you are installing the server in an office environment), then tick the relevant box, and fill out the proxy details when prompted.

  5. Finally, click Finish.

What just happened?

We have just set up a simple SVNServe-based Subversion server. At the moment, we can't do much with the server. It allows anonymous read access, but no write access. That means it's great for letting people download our code, but not so useful for letting people submit any changes they decide to make.

We could allow anonymous write access – but that wouldn't really be a good idea – after all, what's to stop a competitor, or simply a mean-spirited person, from changing our code? Also, how will you know which member of your team submitted which changes? Giving each user of your repository a username makes it a lot easier to track who is doing what, and also to restrict what each person can do. Instead of allowing anonymous write access, let's set up some simple authentication, so that we can control who can and cannot edit our code.

Simple authentication for SVNserve

SVNserve has a simple authentication feature which allows you to specify who can and cannot modify code in the repository. Let's set up that feature now.