[TxMt] SVN log templates

Mat Schaffer schapht at gmail.com
Wed Jul 18 20:04:31 UTC 2007


Is there a "right way" to allow for SVN log templates?  Basically I'd  
like to be able to easily populate the comments section of the  
CommitWindow with a template (or snippet, or...).

The best I've found so far is adding:

@commit_args.gsub!("-m ''", '')

to /Applications/TextMate.app/Contents/SharedSupport/Bundles/ 
Subversion.tmbundle/Support/svn_commit.rb

Which causes the svn's client behavior to kick in and spawn EDITOR  
(mate -w) to write comments.  Is this as good as it gets?

Thanks,
Mat



More information about the textmate mailing list