I also fixed the quotes in the commands so they shouldn’t cause trouble anymore.
Contents
- Introduction
- Menu
- Toolbar
- Icons
- Done
Introduction
I have created a toolbar with Update, Log, Check, Revert, and Commit
. The commands work the same as if you right clicked the folder containing the solution. Follow the steps below to get your own tortoise toolbar.
Select Tools > External Tools… from the Visual Studio menu. Add a tool using the following info.

| Field |
Value |
| #1 |
|
| Title |
Tortoise &Update |
| Command |
C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe |
| Arguments |
/command:update /path:"$(SolutionDir)" /notempfile |
| #2 |
|
| Title |
Tortoise &Log |
| Command |
C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe |
| Arguments |
/command:log /path:"$(SolutionDir)" /notempfile |
| #3 |
|
| Title |
Tortoise Check for &Modifications |
| Command |
C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe |
| Arguments |
/command:repostatus /path:"$(SolutionDir)" /notempfile |
| #4 |
|
| Title |
Tortoise Re&vert |
| Command |
C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe |
| Arguments |
/command:revert /path:"$(SolutionDir)" /notempfile |
| #5 |
|
| Title |
Tortoise &Commit |
| Command |
C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe |
| Arguments |
/command:commit /path:"$(SolutionDir)" /notempfile |
- $(SolutionDir) is the path to the directory the solution is in
- /notempfile is required when running from the command line
- The ampersands make that letter a shortcut for use in the menu
You should have the commands in your tools menu. Try them out and make sure they all work.

Add the toolbar by right-clicking your toolbar and select customize. Make a new toolbar and call it Tortoise. Close the customize window and right-click again, this time adding the tortoise toolbar.
Now go back to customize, select the commands tab, and scroll down to the tools category. You should see a bunch of commands like External Command 1, External Command 2, etc. Drag those on to your new toolbar. This may require some trial and error.
You can rename the commands in the toolbar by selecting a button with the customize window open, then clicking the Modify Selection button, then Name:.

Icons
Now to add the icons. I haven’t found an easy way to do this yet. Here’s what I did:
Go to http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/src/Resources/ (user guest, blank password). Browse to the image you want then right click the image and select Copy Image (note: this was on Firefox). With the customize window open right click the button and select Paste Button Image.
The pasted image won’t be transparent, so you need to edit the image. Right-click and select Edit Button Image. Then erase all the black area.

Done
Your toolbar should look something like this: 
- Well, you could have before if you wanted. I’m sure I’m not the first to come up with this. I know a few people already do this because it came up on the TortoiseSVN mailing list a while back.↩