You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kouhei Sutou <ko...@cozmixng.org> on 2005/02/21 04:52:28 UTC
Re: svn commit: r13069 -
branches/ruby/subversion/bindings/swig/ruby/svn
Hi,
In <20...@morbius.ch.collab.net>
"svn commit: r13069 - branches/ruby/subversion/bindings/swig/ruby/svn" on Sat, 19 Feb 2005 11:20:57 -0600,
rooneg@tigris.org wrote:
> Author: rooneg
> Date: Sat Feb 19 11:20:57 2005
> New Revision: 13069
>
> Modified:
> branches/ruby/subversion/bindings/swig/ruby/svn/client.rb
> Log:
> Fix a crash that occurs when a client function is used without having
> set up authentication providers.
>
> * subversion/bindings/swig/ruby/svn/client.rb
> (Svn::Client::Context#initialize): call update_auth_baton so that
> we don't crash if the user tries to call something that requires
> authentication without having added a provider first.
I want to have the case as test case in
test/test_client.rb. Do you have a code which reproduces the
case?
Regards,
--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: r13069 -
branches/ruby/subversion/bindings/swig/ruby/svn
Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,
In <42...@electricjellyfish.net>
"Re: svn commit: r13069 - branches/ruby/subversion/bindings/swig/ruby/svn" on Mon, 21 Feb 2005 10:03:43 -0500,
Garrett Rooney <ro...@electricjellyfish.net> wrote:
> > I want to have the case as test case in
> > test/test_client.rb. Do you have a code which reproduces the
> > case?
>
> Basically just doing anything that tries to use the auth baton without
> having set up a provider first will do it.
Thanks.
I added a test case for this.
--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: r13069 - branches/ruby/subversion/bindings/swig/ruby/svn
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Kouhei Sutou wrote:
> Hi,
>
> In <20...@morbius.ch.collab.net>
> "svn commit: r13069 - branches/ruby/subversion/bindings/swig/ruby/svn" on Sat, 19 Feb 2005 11:20:57 -0600,
> rooneg@tigris.org wrote:
>
>
>>Author: rooneg
>>Date: Sat Feb 19 11:20:57 2005
>>New Revision: 13069
>>
>>Modified:
>> branches/ruby/subversion/bindings/swig/ruby/svn/client.rb
>>Log:
>>Fix a crash that occurs when a client function is used without having
>>set up authentication providers.
>>
>>* subversion/bindings/swig/ruby/svn/client.rb
>> (Svn::Client::Context#initialize): call update_auth_baton so that
>> we don't crash if the user tries to call something that requires
>> authentication without having added a provider first.
>
>
> I want to have the case as test case in
> test/test_client.rb. Do you have a code which reproduces the
> case?
Something as simple as the following triggered the problem for me:
require 'svn/client'
require 'svn/core'
Svn::Core::Pool.new do |p|
c = Svn::Client::Context.new(p)
print c.cat('COMMITTERS')
end
Basically just doing anything that tries to use the auth baton without
having set up a provider first will do it.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org