def checkout
      begin
        svn_session() do |ctx|
           ctx.checkout(@svn_repo_master, @svn_repo_working_copy)
        end
      #rescue Svn::Error::RaLocalReposOpenFailed,
      #       Svn::Error::FsAlreadyExists,
      #rescue Errno::EACCES => e
      rescue Exception => err
        raise RepoAccessError, err.message
      end
    end
def checkout
      begin
        svn_session() do |ctx|
           ctx.checkout(@svn_repo_master, @svn_repo_working_copy)
        end
      #rescue Svn::Error::RaLocalReposOpenFailed,
      #       Svn::Error::FsAlreadyExists,
      #rescue Errno::EACCES => e
      rescue Exception => err
        raise RepoAccessError, err.message
      end
    end
checkout

 create a local working copy of a remote svn repo (creates dir if not
 exist)
 raises RepoAccessError if something goes wrong