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

[PATCH] client.rb has too many 'end's

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-03-22 07:07:43 CET

[[[
* subversion/bindings/swig/ruby/svn/client.rb
  CommitItem3 class had too many end's
  Removed unneeded require
]]]

Index: subversion/bindings/swig/ruby/svn/client.rb
===================================================================
--- subversion/bindings/swig/ruby/svn/client.rb (revision 23998)
+++ subversion/bindings/swig/ruby/svn/client.rb (working copy)
@@ -4,7 +4,6 @@
 require "svn/util"
 require "svn/core"
 require "svn/wc"
-require "svn/ra"
 require "svn/ext/client"

 module Svn
@@ -33,7 +32,6 @@
           item
         end
       end
- end
     end

     class Info

====

With this applied I get:

D:\SVN\src-trunk\subversion\bindings\swig\ruby>ruby test\run-test.rb
Loaded suite test
Started
...F..........E......................................E......................................................................................
....
Finished in 503.622 seconds.

  1) Failure:
test_add_providers(SvnClientTest)
[D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:1792]:
Exception raised:
Class: <NoMethodError>
Message: <"undefined method `add_windows_ssl_server_trust_provider'
for #<Svn::Ext::Client::Svn_client_ctx_t:0x36ea570>">
---Backtrace---
D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:1797:in
`test_add_providers'
D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:1792:in
`test_add_providers'
---------------

  2) Error:
test_diff(SvnClientTest):
TypeError: can't convert true into Integer
    D:/SVN/src-trunk/subversion/bindings/swig/ruby/svn/util.rb:81:in
`svn_client_diff3'
    D:/SVN/src-trunk/subversion/bindings/swig/ruby/svn/util.rb:81:in `diff3'
    D:/SVN/src-trunk/subversion/bindings/swig/ruby/svn/client.rb:221:in `diff'
    D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:690:in
`test_diff'

  3) Error:
test_windows_simple_provider(SvnClientTest):
NoMethodError: undefined method `add_windows_simple_provider' for
#<Svn::Ext::Client::Svn_client_ctx_t:0x368425c>
    D:/SVN/src-trunk/subversion/bindings/swig/ruby/test/test_client.rb:1715:in
`test_windows_simple_provider'

144 tests, 914 assertions, 1 failures, 2 errors

====
Perhaps an incomplete commit?

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 22 07:08:09 2007

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