summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-25 08:51:38 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-25 08:51:38 +0000
commit3d519e37ee38637677810fde9e3b3bb17c7a315c (patch)
tree5db07e24f069c4d4d6cc4c35073812bf5f5c17ca /lib
parent57f3b6f5922f9b6d81badb87dec0057a770ee626 (diff)
downloadredmine-3d519e37ee38637677810fde9e3b3bb17c7a315c.tar.gz
redmine-3d519e37ee38637677810fde9e3b3bb17c7a315c.zip
scm: bazaar: check not nil in adapter append_revisions_only() (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5895 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 5f5d89792..ca980052c 100644
--- a/lib/redmine/scm/adapters/bazaar_adapter.rb
+++ b/lib/redmine/scm/adapters/bazaar_adapter.rb
@@ -240,7 +240,7 @@ module Redmine
return @aro if ! @aro.nil?
@aro = false
bcp = self.class.branch_conf_path(url)
- if File.exist?(bcp)
+ if bcp && File.exist?(bcp)
begin
f = File::open(bcp, "r")
cnt = 0