From: Kouhei Sutou Date: 2007-10-29T00:23:21+09:00 Subject: Re: Subversion Ruby Bindings access to URL Hi, In "Re: Subversion Ruby Bindings access to URL" on Mon, 29 Oct 2007 00:06:35 +0900, Juanse_Pérez_herrero wrote: > The code I am using > > username = "*****" > password = "*****" > root = "svn+ssh://******/trunk" > > ctx = Svn::Client::Context.new > > provider = Proc.new do |cred, realm, default, may_save, pool| > cred.username = username > cred.password = password > cred > end > > cb = Svn::Ra::Callbacks.new(ctx.auth_baton) > cb.auth_baton = > Svn::Core.auth_open([Svn::Client::get_simple_prompt_provider(provider, > 2)]) > > session = 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