Tortoise SVN

From DojoWiki

Jump to: navigation, search

Install Tortoise SVN

Tortoise can be downloaded from [|Here].

I got TortoiseSVN-1.4.1.7992-win32-svn-1.4.2.msi, which was the most recent stable version as of 1/13/2006.

As a Windows Installation package, it runs as expected. There are options for installing languages, but I didn't change anything; just kept clicking next until it was done.

After installing, the installation package prompted me to Re-boot, but I tried using Tortoise without rebooting and haven't had any apparent troubles.

Setting the SVN_ASP_DOT_NET_HACK environment variable

The .Net hack is required to deal with the fact that Visual Studio doesn't like to deal with filenames that have a leading ".". This, of course, is a common convention in Unix systems that has found it's way into Subversion. The following information provides a way to "fix" Subversion so it will work better in .Net development environments.

As of version 1.4.0 and later, the TortoiseSVN installer doesn't provide the user with the option to set the SVN_ASP_DOT_NET_HACK environment variable anymore, since that caused many problems and confusions with users which always install everything no matter if they know what it is for.

But that option is only hidden for the user. You still can force the TortoiseSVN installer to set that environment variable by setting the ASPDOTNETHACK property to TRUE. For example, you can start the installer like this:

msiexec /i TortoiseSVN-1.4.0.msi ASPDOTNETHACK=TRUE

Using Tortoise SVN

Subversion includes a command-line client; but Tortoise is a much friendlier, if slightly less powerful tool.

Again, depending on what steps you took in the previous portion of the tutorial, this may be unnecessary.

  1. Notice first series of menus. Clicking Checkout will allow you to checkout files from an already created project. If you created "iter0" in the previous sections, then you can checkout that empty directory and begin adding files.
  2. If you didn't use svn mkdir to create a project, then use Import to create a project from an existing directory.

Open Windows Explorer and right-click on a directory. The Tortoise commands are available on the Pop-Up menu.  Screenshot of Tortoise / Explorer Menu

The first thing, likely, that will need to be done is to Import a Project into Subversion (Remember you created a repository in a previous step).

Find the directory where your project files are, or will be. Expand Tortoise SVN from the Tortoise menu and select "Import".

Image:TortoiseImport.png

Now that the files have been imported, you can change to a different directly and select "SVN Checkout" from the Tortoise Menu.

Personal tools