@@ -172,7 +172,6 module Redmine | |||||
172 | files=[] |
|
172 | files=[] | |
173 | changeset = {} |
|
173 | changeset = {} | |
174 | parsing_descr = 0 #0: not parsing desc or files, 1: parsing desc, 2: parsing files |
|
174 | parsing_descr = 0 #0: not parsing desc or files, 1: parsing desc, 2: parsing files | |
175 | revno = 1 |
|
|||
176 |
|
175 | |||
177 | io.each_line do |line| |
|
176 | io.each_line do |line| | |
178 | if line =~ /^commit ([0-9a-f]{40})$/ |
|
177 | if line =~ /^commit ([0-9a-f]{40})$/ | |
@@ -195,7 +194,6 module Redmine | |||||
195 | end |
|
194 | end | |
196 | changeset = {} |
|
195 | changeset = {} | |
197 | files = [] |
|
196 | files = [] | |
198 | revno = revno + 1 |
|
|||
199 | end |
|
197 | end | |
200 | changeset[:commit] = $1 |
|
198 | changeset[:commit] = $1 | |
201 | elsif (parsing_descr == 0) && line =~ /^(\w+):\s*(.*)$/ |
|
199 | elsif (parsing_descr == 0) && line =~ /^(\w+):\s*(.*)$/ |
General Comments 0
You need to be logged in to leave comments.
Login now