[TxMt] SVN Status -> commit button doesn't work?

Chris Thomas chris at cjack.com
Thu Oct 26 16:19:47 UTC 2006


On Oct 26, 2006, at 11:09 AM, Allan Odgaard wrote:

> So the svn_commit.rb should either be made fallback to entire  
> project (instead of current file), or accept the arguments given to  
> it by the status window.

Actually, this should work as is. format_commit.rb takes the selected  
paths and also appends whatever paths are passed in:

	paths_to_commit = TextMate::selected_paths_array
	paths_to_commit.concat( ARGV ) unless ARGV.empty?

paths_to_commit is then filtered through "svn status". Maybe  
format_status.rb isn't passing the paths correctly, or maybe PWD  
somehow doesn't match up.

Chris



More information about the textmate mailing list