Install just TortoiseMerge software and context me

2019-02-08 06:27发布

问题:

I really love the TortoiseSvn diff software. I can download them standalone as a zip, but I really love when iI can select two files and then right click and from context menu click on "diff in tortoise". Is there any way I can install just this tool? I don't want the whole SVN suite.

http://tortoisesvn.net/downloads.html

Here is standalone TortoiseMerge: http://tortoisesvn.net/TortoiseMerge.html

回答1:

You can't, sorry. Yes, you can!

According to this forum thread (from June, 2011, so pretty much over three years old), written by Stefan Küng, an author of TortoiseSVN, starting from version 1.7 of TSVN, TortoiseMerge does not ship as standalone.

You can go to Tools folder on TortoiseSVN's site at SF and get TortoiseDiff-1.6.7.zip file from there. It still quite outdated (see above notice), but certainly it is a standalone version of TortoiseMerge.



回答2:

Instead of context menu items, a good workaround is to put it in the SendTo folder



回答3:

I needed something similar (just a standalone app to make diff files) and was able to copy the following out of the Tortoise install directory (C:\Program Files\TortoiseSVN\bin\) to make TortoiseMerge work on its own (similar to the accepted answer's suggestion). Maybe extract them from the full installer if you don't have it installed already?

  • TortoiseMerge.exe
  • libsvn_tsvn.dll
  • libapr_tsvn.dll
  • libaprutil_tsvn.dll
  • vcruntime140.dll
  • intl3_tsvn.dll
  • libsasl.dll
  • mfc140u.dll
  • msvcp140.dll

As far as the context-menu entry:

  • How add context menu item to Windows Explorer for folders and probably needing multiple "%" placeholders (e.g. myprogrampath\path\path\executable.exe %1 %2)
  • https://www.howtogeek.com/howto/windows-vista/add-any-application-to-the-desktop-right-click-menu-in-vista/