Source Insight上添加svn命令

第一步,在Custom Commands添加命令:

SVN Log

Tools->Custom Commands

添加一个命令

名字:SVN Log  (随便自己写)

运行:"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:log /path:%f /notempfile /closeonend

TortoiseProc.exe的目录以自己电脑上的为是。

SVN Diff

Tools->Custom Commands

添加一个命令

名字:SVN Diff  (随便自己写)

运行:"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:diff /path:%f /notempfile /closeonend

 

同样,添加命令 ShellExecute open %d 可以打开当前文件所在文件夹

第二步,把OptionsMenu Assignments

1. Select ‘Custom Cmd: SVN Log’ in the ‘Command’ field

2. Select ‘Work’ in the ‘Menu’ field

3. Click ‘Insert’ button (need click the ‘Menu Contents’ field first)

4. Use ‘Up’ or ‘Down’ to set the menu’s position

第三步,ViewToolbarsSource Control(这一步可以不用执行,执行上面两步以后就可以把work添加到 toolbar GUI)

Figure 1 - If you want to use the source control icon in the tool bar, you can select it as following:

Figure 2 - Show Source Control Toolbar

The following toolbar will be added to the GUI:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值