Subversion

Hi all

Is there anyway i can add a menue item for locking in the source code control menue ? I will start on a project where the client demands that subversion is set with svn:needs-loc. I can require looks using TortoiseSVN but it would be much more convinient if it was possible from within the IDE

Best Regards
Jan Eskilsson

You could easily use a Komodo run command (in your toolbox and you could even add a keybinding to it) for the lock command:

svn lock %F

You could use a Komodo macro (scripting the run command), to run the necessary commands… something like this:

var cmd =  'svn setproperty svn:needs-loc true %F';
var cwd = '%D';
ko.run.runEncodedCommand(window, cmd, cwd);

and you can set macros to trigger on the file-save operation…

Cheers,
Todd