diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-12 05:06:22 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-12 05:06:22 +0000 |
commit | 3bff6eb66077603542fce02fa09fbbc2b4067f5a (patch) | |
tree | c29b60df8f05aa4cdd6aae4d04e1d48a0eaba0e7 /lib | |
parent | a7aee902f2411599305b804a3e9db086c2030c11 (diff) | |
download | redmine-3bff6eb66077603542fce02fa09fbbc2b4067f5a.tar.gz redmine-3bff6eb66077603542fce02fa09fbbc2b4067f5a.zip |
scm: subversion: use revision and identifier as string in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5430 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/subversion_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb index de69cc077..b82f5e69d 100644 --- a/lib/redmine/scm/adapters/subversion_adapter.rb +++ b/lib/redmine/scm/adapters/subversion_adapter.rb @@ -239,7 +239,7 @@ module Redmine shellout(cmd) do |io|
io.each_line do |line|
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
- rev = $1.to_i
+ rev = $1
blame.add_line($3.rstrip,
Revision.new(
:identifier => rev,
|