summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-12 05:06:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-12 05:06:22 +0000
commit3bff6eb66077603542fce02fa09fbbc2b4067f5a (patch)
treec29b60df8f05aa4cdd6aae4d04e1d48a0eaba0e7 /lib
parenta7aee902f2411599305b804a3e9db086c2030c11 (diff)
downloadredmine-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.rb2
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,