From: Kouhei Sutou Date: 2007-10-28T23:41:02+09:00 Subject: Re: Subversion Ruby Bindings access to URL Hi, In "Re: Subversion Ruby Bindings access to URL" on Sun, 28 Oct 2007 20:55:36 +0900, Juanse_Pérez_herrero wrote: > I am trying to authenticate to remote svn using the ruby bindings. > > I create my provider as follows > > provider = Proc.new do |cred, args | > cred = Svn::Ext::Core::Svn_auth_cred_simple_t.new > cred.username = username > cred.password = password > cred > end ... > Am I doing something wrong? Why do you override 'cred' variable value? Just use 'cred' passed as the first argument: provider = Proc.new do |cred, args| cred.username = username cred.password = password end Thanks, -- kou