##// END OF EJS Templates
scm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb....
Toshi MARUYAMA -
r5260:c6ec41473e62
parent child
Show More
@@ -164,7 +164,6 module Redmine
164 164 cmd_args << path_with_project
165 165 scm_cmd(*cmd_args) do |io|
166 166 state="entry_start"
167
168 167 commit_log=String.new
169 168 revision=nil
170 169 date=nil
@@ -173,15 +172,12 module Redmine
173 172 entry_name=nil
174 173 file_state=nil
175 174 branch_map=nil
176
177 175 io.each_line() do |line|
178
179 176 if state!="revision" && /^#{ENDLOG}/ =~ line
180 177 commit_log=String.new
181 178 revision=nil
182 179 state="entry_start"
183 180 end
184
185 181 if state=="entry_start"
186 182 branch_map=Hash.new
187 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