File Exchange

image thumbnail

tortoise svn toolbar integration

version 1.1.0.0 (6.4 KB) by Heinrich
3 Buttons in the current folder browser for commiting, updating, showlog selected files/ folders

2 Downloads

Updated 27 Sep 2013

View License

functionality is based on 3 java-Buttons wich are added at the end of the "current
folder browser"-toolbar. Their callbacks will call a dos command which invokes
tortois.exe with some parameters (which you can edit for your purposes)
Additional commandline parameters for tortoise can be found here:

http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html

For removing the buttons simply restart Matlab

Comments and Ratings (7)

Matthew

Olivier

Great work!
As a suggestion to avoid annoying warnings, you can replace e.g.:
bCommit = com.mathworks.mwswing.MJButton
with:
bCommit=handle(com.mathworks.mwswing.MJButton,'CallbackProperties');

Best,

Olivier

Heinrich

Ok, I added support for matlab 2013a

The error was caused the big layout change
in the matlab 2013a desktop.

I also added a new button:

- deleting a file/ folder from repository

please enjoy the submission

best regards

Heinrich

@ icon overlays:

I tried very hard to make this possible, (2 days)
but the underlaying cell-renderer is
hardly closed code. Even changing the backgroud color
of the files and folders was not possible for me.
Maybe a java/ undocumented expert can have a look
on this.

Sam

I am currently getting the same error as Alan on 2013a. Has anyone been able to make it work?

Has anyone gotten this to work under 2013a? I'm getting a Java exception on line 122 when I try to run pm_TortoiseToolbar.

java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: null

Good idea and realisation!

Sam Roberts

Most useful submission I've seen in a long time. Thank you. Perhaps a big ask, but can you make the icons use the Tortoise overlays?

Updates

1.1.0.0

- added another Button (delete from repository)
- Matlab 2013a-Support

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor