Bazaar adapter: fixed log with partial revisions parsing.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@962 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 17 years ago
parent 6239e319ac
commit 7fae4b0892
  1. 5
      lib/redmine/scm/adapters/bazaar_adapter.rb

@ -110,9 +110,12 @@ module Redmine
revision.scmid = $1.strip
elsif line =~ /^timestamp: (.+)$/
revision.time = Time.parse($1).localtime
elsif line =~ /^ -----/
# partial revisions
parsing = nil unless parsing == 'message'
elsif line =~ /^(message|added|modified|removed|renamed):/
parsing = $1
elsif line =~ /^ (.+)$/
elsif line =~ /^ (.*)$/
if parsing == 'message'
revision.message << "#{$1}\n"
else

Loading…
Cancel
Save