]> source.dussan.org Git - redmine.git/commitdiff
scm: bazaar: use revision and identifier as string.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 11 Apr 2011 08:33:32 +0000 (08:33 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 11 Apr 2011 08:33:32 +0000 (08:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5400 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/bazaar_adapter.rb

index 3d14eee03dd555f2a81a73d03bdc4dc7533f5daf..bfa943d7a5611e49b639b384d8d1d0e159fcc7c7 100644 (file)
@@ -209,7 +209,7 @@ module Redmine
             identifier = nil
             io.each_line do |line|
               next unless line =~ %r{^(\d+) ([^|]+)\| (.*)$}
-              rev = $1.to_i
+              rev = $1
               blame.add_line($3.rstrip,
                  Revision.new(
                   :identifier => rev,