[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r15154 - in trunk: subversion/bindings/swig/ruby/libsvn_swig_ruby subversion/bindings/swig/ruby/svn subversion/bindings/swig/ruby/test tools/examples tools/hook-scripts

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2005-07-09 04:26:22 CEST

Hi,

In <df2177af05070510396205eb83@mail.gmail.com>
  "Re: svn commit: r15154 - in trunk: subversion/bindings/swig/ruby/libsvn_swig_ruby subversion/bindings/swig/ruby/svn subversion/bindings/swig/ruby/test tools/examples tools/hook-scripts" on Tue, 5 Jul 2005 13:39:29 -0400,
  David James <james82@gmail.com> wrote:

> > Could you tell me the result (including error messages) of
> > the following script?
> >
> > require "svn/client"
> >
> > ctx = Svn::Client::Context.new()
> > p ObjectSpace.each_object(Svn::Core::Pool) {}
> > GC.start
> > p ObjectSpace.each_object(Svn::Core::Pool) {}
> > ctx.copy("file:///u/james/g/e.txt","file:///u/james/g/g.txt")
> Sure! The results are below.

Could you retry with r15302?

And what about the following script?

  require "svn/client"

  def copy
    ctx = Svn::Client::Context.new
    p ObjectSpace.each_object(Svn::Core::Pool) {}
    GC.start
    p ObjectSpace.each_object(Svn::Core::Pool) {}
    ctx.copy("file:///u/james/g/e.txt","file:///u/james/g/g.txt")
  end

  p ObjectSpace.each_object(Svn::Core::Pool) {}
  begin
    copy
  rescue
    puts "#{$!} (#{$!.class})"
    puts $@
  end
  GC.start
  p ObjectSpace.each_object(Svn::Core::Pool) {}

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 9 04:27:20 2005

This is an archived mail posted to the Subversion Dev mailing list.