SVN external tools in Visual Studio

If you use SVN and Visual Studio in your project, this tips can boost your efficiency.

I frequently use diff, log and blame command via TortoiseSVN context menu, so I have to open file explorer before invoking this command. Visual Studio external command will be really handy for this case. Put your external command in tab context menu or put it in toolbar, I use both :

context

Tab’s context menu

toolbar

Toolbar menu

Step :

1. Tools -> External Tools
2. Add new menu contents
3. Use TortoiseProc.exe to invoke svn command.

SVN command Cheat sheet :

Blame :
command -> TortoiseProc.exe
argument -> /command:blame /path:”$(ItemPath)” /line:$(CurLine)

Diff
command -> TortoiseProc.exe
argument -> /command:diff /path:”$(ItemPath)”

Log
command -> TortoiseProc.exe
argument -> /command:log /path:”$(ItemPath)”

you can also read about it here :
http://tortoisesvn.net/visualstudio.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s