📜 ⬆️ ⬇️

Integrating TortoiseSVN into Total Commander


Preamble:
We have TortoiseSVN and Total Commander available, and we actively use them in our work.
Almost all actions in Total Commander'e are successfully performed by the keyboard alone, without using the mouse, by any hot keys. The main thing is to find / know / get used to them, and work becomes many times easier and faster.
TortoiseSVN, out of the box, provides us with only items in the context menu, which can be reached in two ways:

I want to perform all actions with TortoiseSVN as quickly as the actions in Total Commander itself.
Those. via hotkeys, in one click.

Climbing the Internet, I could not find any instructions on how to integrate TortoiseSVN into Total Commander in a human way and make it possible.
So I decided to write my own little simple manual.


Implementation.
In fact, everything is quite simple.
Included with TortoiseSVN is exe'shnik, just for automation: TortoiseProc.exe
He then we need. A full list of parameters for it is available on the official website .
In turn, Total Commander has the opportunity to create custom commands.
This can be done in several ways:

Now that we have a list of commands for Total Commander, we can start using them.
Those who are used to working with the buttons on the panel, you can add all these commands to a separate panel and call them exactly in 1 click:


To do this in the editor panel, we make for each command some simple manipulations, fully depicted in the screenshot below:

(After assigning hotkeys (more on this below), I personally do not need buttons on the panel. But I decided to describe this possibility just in case. All people are different, maybe someone will be more comfortable.)

And the most important thing. We can assign hotkeys to these commands!
Open the Total Commander settings -> Miscellaneous. See the section "Override hot keys"

For myself, I stopped at the following list of combinations:
Ctrl + Alt + Shift + D = em_svnDiff
Ctrl + Alt + Shift + L = em_svnLog
Ctrl + Alt + Shift + R = em_svnRevert
Ctrl + Alt + Shift + C = em_svnCommit
Ctrl + Alt + Shift + U = em_svnUpdate
Ctrl + Alt + Shift + E = em_svnCheckForModifications
Ctrl + Alt + Shift + S = em_svnRepoBrowser

Now working with TortoiseSVN has become much faster, easier and more enjoyable.

PS I hope for someone this article will be useful and bring a little more peace and tranquility in the development process;)

Source: https://habr.com/ru/post/143934/


All Articles