Hi,

In <ca3997bedc6c344276f43d9d055e0a4b / ruby-forum.com>
  "Re: Subversion Ruby Bindings access to URL" on Mon, 29 Oct 2007 00:0=
6:35 +0900,
  Juanse_P=E9rez_herrero <juanseph / gmail.com> wrote:

> The code I am using
> =

>  username =3D "*****"
>  password =3D "*****"
>  root     =3D "svn+ssh://******/trunk"
> =

>  ctx =3D Svn::Client::Context.new
> =

>  provider =3D Proc.new do |cred, realm, default, may_save, pool|
>   cred.username =3D username
>   cred.password =3D password
>   cred
>  end
> =

>  cb            =3D Svn::Ra::Callbacks.new(ctx.auth_baton)
>  cb.auth_baton =3D =

> Svn::Core.auth_open([Svn::Client::get_simple_prompt_provider(provider=
, =

> 2)])
> =

> session =3D Svn::Ra::Session.open(root, Svn::Core::config_get_config(=
nil), =

> cb)

Why do you use Svn::Ra::Session directly?
Does Svn::Core::Context satisfy you?

What error did you get?


Thanks,
--
kou