Exclude:
- 'config/application.rb'
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
- - 'lib/redmine/scm/adapters/subversion_adapter.rb'
- 'test/functional/journals_controller_test.rb'
- 'test/functional/my_controller_test.rb'
- 'test/functional/roles_controller_test.rb'
io.each_line do |line|
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
rev = $1
- blame.add_line($3.rstrip,
- Revision.new(
- :identifier => rev,
- :revision => rev,
- :author => $2.strip
- ))
+ blame.add_line(
+ $3.rstrip,
+ Revision.new(
+ :identifier => rev,
+ :revision => rev,
+ :author => $2.strip
+ )
+ )
end
end
return nil if $? && $?.exitstatus != 0