If you're a Windows user and you want to use a graphical tool to connect to a Subversion server, TortoiseSVN is an excellent choice. In this video you can download and install the TortoiseSVN client on a workstation, and show you some of the basics about how it integrates with Windows Explorer to allow you to work with local projects.
- [Instructor] If you're a Windows user, and you'd rather use a graphical client that's not integrated with any programming tools, I recommend using TortoiseSVN. This is free software that has some great functionality. And even if you had some version built into your programming environment, you'll find that some things are actually much easier to do in TortoiseSVN. I actually switch between Eclipse and TortoiseSVN all the time to access my subversion server. To install, open your browser and go to TortoiseSVN.net, and then click the downloads tab.
You'll see installers for 32-bit and 64-bit Windows. Choose the one that matches your Windows install and download it. Here, I'll chose the 64-bit client. I'll switch to the downloads folder, and once it's downloaded, open the MSI file to start the installer. I'll double click the MSI file, allow it to run, and you'll see a nice license screen. When I click next, you'll see a license agreement. As with everything else, please feel free to read this as thoroughly as you want to before accepting or rejecting it. If you're fine with the license, click next.
And by default, all the install options are checked except for the command line client tools. It's up to you if you want to install these too. If you don't already have any command line tools installed, I would recommend adding this feature. If you've already got the SVN command line tools, feel free to leave this feature deselected. We've already got them, so I'm going to leave this as-is and click next. Then, I'll click install. You'll see the install dialogue run through the file copy and registration, and then you'll end up with this final screen where you can click the finish button when you're done.
If you're feeling generous, you can also click the donate button here and give money to the people who make this fine free tool. I'll just click finish. And now we'll see a few new items in our Windows programs menu. There's not much else to see though, because TortoiseSVN is actually a shell extension. Ah, get it? See, it's a tortoise, and it's a shell extension? Anyway, if you try to open the TortoiseSVN program, it'll tell you this directly. It'll also give you a strong, well-intentioned hint to read the manual. What all the shell extension stuff means is, you open the GUI for TortoiseSVN by right clicking a folder in Windows Explorer and using the TortoiseSVN menu.
We'll be using the Repo browser quite a bit in this tutorial but you can also do a few things directly to a folder, including importing a subversion project, or creating a new repository. Once you've imported a project to your local file system, you'll have even more options. You'll also see the TortoiseSVN overlay icons for subversion manage folders in the file open and file save dialogues of most Windows programs. However, be aware that some of the overlays may not appear for 32-bit applications on 64-bit Windows. Back on the downloads page for TortoiseSVN, if you scroll down just slightly, you'll see this warning right here on the page.
In this case, you need to make sure that you have the proper C-runtime files installed, which you can install directly from the downloads page.
- Trunks, tags, and branches
- Checkout, commits, and revisions
- Merging, locking, and working with a team
- TortoiseSVN on Windows
- SVN integration with Eclipse
- Connecting to a project
- Creating a new Java project in Eclipse
- Connecting to an existing Java project using Eclipse
- Dealing with projects that move to a new location
- Making changes and creating branches
- Tracking changes and dealing with conflicts
- Creating a release