Hi,

In <a101e8da5e08679a9ee8105aa81a3d02 / ruby-forum.com>
  "Re: Subversion Ruby Bindings access to URL" on Sun, 28 Oct 2007 20:5=
5:36 +0900,
  Juanse_P=E9rez_herrero <juanseph / gmail.com> wrote:

> I am trying to authenticate to remote svn using the ruby bindings.
> =

> I create my provider as follows
> =

>  provider =3D Proc.new do |cred, args |
>    cred =3D Svn::Ext::Core::Svn_auth_cred_simple_t.new
>    cred.username =3D username
>    cred.password =3D password
>    cred
>  end
...
> Am I doing something wrong?

Why do you override 'cred' variable value? Just use 'cred'
passed as the first argument:

  provider =3D Proc.new do |cred, args|
    cred.username =3D username
    cred.password =3D password
  end


Thanks,
--
kou