From 6a54a0c94ccf9565f07d86b037ed284afc72e07a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 6 Jun 2009 10:49:36 +0000 Subject: [PATCH] Fixed: Bazaar "[merge]" tags parsing fails (#3445). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2780 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/bazaar_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb index 39afb0565..4d2c74147 100644 --- a/lib/redmine/scm/adapters/bazaar_adapter.rb +++ b/lib/redmine/scm/adapters/bazaar_adapter.rb @@ -89,7 +89,7 @@ module Redmine else next unless revision - if line =~ /^revno: (\d+)$/ + if line =~ /^revno: (\d+)($|\s\[merge\]$)/ revision.identifier = $1.to_i elsif line =~ /^committer: (.+)$/ revision.author = $1.strip