summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-11 08:33:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-11 08:33:32 +0000
commit4491f714417b089d67bb40ced787d8e09e91bf5a (patch)
tree41e7de1bd824a5ba7466f239516332b1e80608f8 /lib
parent91dc3245dd21c1f58cb40ad0e298ff1e4f1016c7 (diff)
downloadredmine-4491f714417b089d67bb40ced787d8e09e91bf5a.tar.gz
redmine-4491f714417b089d67bb40ced787d8e09e91bf5a.zip
scm: bazaar: use revision and identifier as string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5400 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/bazaar_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb
index 3d14eee03..bfa943d7a 100644
--- a/lib/redmine/scm/adapters/bazaar_adapter.rb
+++ b/lib/redmine/scm/adapters/bazaar_adapter.rb
@@ -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,