mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-30 01:36:04 +01:00 
			
		
		
		
	scm: subversion: use revision in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5390 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
		| @@ -239,7 +239,13 @@ module Redmine | ||||
|           shellout(cmd) do |io| | ||||
|             io.each_line do |line| | ||||
|               next unless line =~ %r{^\s*(\d+)\s*(\S+)\s(.*)$} | ||||
|               blame.add_line($3.rstrip, Revision.new(:identifier => $1.to_i, :author => $2.strip)) | ||||
|               rev = $1.to_i | ||||
|               blame.add_line($3.rstrip, | ||||
|                    Revision.new( | ||||
|                       :identifier => rev, | ||||
|                       :revision   => rev, | ||||
|                       :author     => $2.strip | ||||
|                       )) | ||||
|             end | ||||
|           end | ||||
|           return nil if $? && $?.exitstatus != 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user