summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/subversion_adapter.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb
index 07f9af48e..a395df4ae 100644
--- a/lib/redmine/scm/adapters/subversion_adapter.rb
+++ b/lib/redmine/scm/adapters/subversion_adapter.rb
@@ -228,12 +228,14 @@ module Redmine
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