@@ -164,7 +164,6 module Redmine | |||||
164 | cmd_args << path_with_project |
|
164 | cmd_args << path_with_project | |
165 | scm_cmd(*cmd_args) do |io| |
|
165 | scm_cmd(*cmd_args) do |io| | |
166 | state="entry_start" |
|
166 | state = "entry_start" | |
167 |
|
||||
168 | commit_log=String.new |
|
167 | commit_log = String.new | |
169 | revision=nil |
|
168 | revision = nil | |
170 | date=nil |
|
169 | date = nil | |
@@ -173,15 +172,12 module Redmine | |||||
173 | entry_name=nil |
|
172 | entry_name = nil | |
174 | file_state=nil |
|
173 | file_state = nil | |
175 | branch_map=nil |
|
174 | branch_map = nil | |
176 |
|
||||
177 | io.each_line() do |line| |
|
175 | io.each_line() do |line| | |
178 |
|
||||
179 | if state!="revision" && /^#{ENDLOG}/ =~ line |
|
176 | if state != "revision" && /^#{ENDLOG}/ =~ line | |
180 | commit_log=String.new |
|
177 | commit_log = String.new | |
181 | revision=nil |
|
178 | revision = nil | |
182 | state="entry_start" |
|
179 | state = "entry_start" | |
183 | end |
|
180 | end | |
184 |
|
||||
185 | if state=="entry_start" |
|
181 | if state=="entry_start" | |
186 | branch_map=Hash.new |
|
182 | branch_map=Hash.new | |
187 | if /^RCS file: #{Regexp.escape(root_url_path)}\/#{Regexp.escape(path_with_project)}(.+),v$/ =~ line |
|
183 | if /^RCS file: #{Regexp.escape(root_url_path)}\/#{Regexp.escape(path_with_project)}(.+),v$/ =~ line |
General Comments 0
You need to be logged in to leave comments.
Login now