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
This commit is contained in:
Toshi MARUYAMA 2011-05-25 08:51:38 +00:00
parent 57f3b6f592
commit 3d519e37ee
1 changed files with 1 additions and 1 deletions

View File

@ -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