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
This commit is contained in:
parent
a7aee902f2
commit
3bff6eb660
|
@ -239,7 +239,7 @@ module Redmine
|
||||||
shellout(cmd) do |io|
|
shellout(cmd) do |io|
|
||||||
io.each_line do |line|
|
io.each_line do |line|
|
||||||
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
|
next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$}
|
||||||
rev = $1.to_i
|
rev = $1
|
||||||
blame.add_line($3.rstrip,
|
blame.add_line($3.rstrip,
|
||||||
Revision.new(
|
Revision.new(
|
||||||
:identifier => rev,
|
:identifier => rev,
|
||||||
|
|
Loading…
Reference in New Issue