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

[patch] Ruby bindings depth argument handling for propset, propget, proplist

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-11-04 19:14:20 CET

This patch depends on the previous one that creates a Greek tree.

[[[

New tests to show that the depth (or recurse) arguments to propset, propget,
and proplist on Svn::Client::Context are handled correctly. Plus handling
them correctly.

]]]

* subversion/bindings/swig/ruby/test/test_client.rb
  (SvnClientTest#recurse_and_depth_choices, SvnClientTest#test_file_prop,
  SvnClientTest#test_dir_prop): New methods.

* subversion/bindings/swig/ruby/svn/client.rb
  (Svn::Client::Context#depth_from_depth_or_recurse): New private method.
  (Svn::Client::Context#propset, Svn::Client::Context#propget,
  Svn::Client::Context#proplist): Change the argument name to depth_or_recurse
  and calculate the depth from the argument.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Nov 4 19:14:34 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.