Revision 962
Added by Jean-Philippe Lang over 17 years ago
trunk/lib/redmine/scm/adapters/bazaar_adapter.rb | ||
---|---|---|
110 | 110 |
revision.scmid = $1.strip |
111 | 111 |
elsif line =~ /^timestamp: (.+)$/ |
112 | 112 |
revision.time = Time.parse($1).localtime |
113 |
elsif line =~ /^ -----/ |
|
114 |
# partial revisions |
|
115 |
parsing = nil unless parsing == 'message' |
|
113 | 116 |
elsif line =~ /^(message|added|modified|removed|renamed):/ |
114 | 117 |
parsing = $1 |
115 |
elsif line =~ /^ (.+)$/
|
|
118 |
elsif line =~ /^ (.*)$/
|
|
116 | 119 |
if parsing == 'message' |
117 | 120 |
revision.message << "#{$1}\n" |
118 | 121 |
else |
Also available in: Unified diff
Bazaar adapter: fixed log with partial revisions parsing.