[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: SVN toolbar for Visual Studio 2005

From: Glenn Carr <GCarr_at_ConnectShip.com>
Date: 2007-08-06 16:38:11 CEST

> Manish Joisar wrote:

> I want to add Get Lock & Released Lock Functionality in Menu,
> How can i do that?

- Go to Tools > External Tools and look at the existing definitions for the SVN commands. Here's an example definition for 'SVN Log':

Title: SVN Log
Command: %PROGRAMFILES%\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:log /path:"$(ItemPath)" /notempfile
Initial directory: $(ItemDir)

- Add a new external tool and adjust the settings as necessary. The TSVN command-line options are listed here:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics

- Check your Visual Studio documentation for details about arguments $(ItemDir), $(ItemPath), etc.

To add external tools to context menus:
- Go to Tools > Customize...
- Click Toolbars, and check 'Context Menus' so that the Context Menu toolbar is displayed
- While the Customize dialog is still up, copy (Ctrl-Drag) the external tools you need to the correct context menu.
- Uncheck the 'Context Menus' and close the Customize dialog.

This is pretty much the gist of it. Just experiment a bit and you should be able to figure it out.

> What if i want to remove some of the menus, as if i remove it
> is not working properly.

You should be able to remove menus/menu items under Tools > Customize by checking 'Context Menus'.

> Like i want only Update, Revert, Commit, GetLock & Release Lock
> Functionality in my menu.

Try following the steps above.

> For single item i changed SolutionDir to ItemPath it worked.
> Is there anyway where i can select multiple Files?

Not as far is I know. I still use TSVN directly from explorer about 75% of the time.

> It will be great if some one can solve this
>
> Thanks
>
> Waiting.....................

Thanks for waiting. ;/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Aug 6 16:38:40 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.