Project

General

Profile

Patch #2510 » scm-bazaar-author-field.patch

Prefer "author" field if present - Daniel Schömer, 2009-01-14 18:58

View differences:

lib/redmine/scm/adapters/bazaar_adapter.rb 2009-01-14 17:05:25 +0000
91 91
                
92 92
                if line =~ /^revno: (\d+)$/
93 93
                  revision.identifier = $1.to_i
94
                elsif line =~ /^author: (.+)$/
95
                  revision.author = $1.strip
94 96
                elsif line =~ /^committer: (.+)$/
95
                  revision.author = $1.strip
97
                  revision.author = $1.strip unless revision.author
96 98
                elsif line =~ /^revision-id:(.+)$/
97 99
                  revision.scmid = $1.strip
98 100
                elsif line =~ /^timestamp: (.+)$/
    (1-1/1)