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

Re: svn commit: r27897 - trunk/subversion/bindings/swig/ruby/svn

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: 2007-11-21 06:55:50 CET

Does relative_to_dir get canonicalized somehow?

On Fri, 16 Nov 2007, joeswatosh@tigris.org wrote:

> Author: joeswatosh
> Date: Fri Nov 16 21:22:08 2007
> New Revision: 27897
>
> Log:
> Follow on to r27875 "Implement issue #2723, adding support to libsvn_client
> and libsvn_diff to provide consumers with the ability to output unified diff
> paths relative to a particular directory."
>
> * subversion/bindings/swig/ruby/svn/client.rb
> (Svn::Client::Context#diff, Svn::Client::Context#diff_peg): Add new
> relative_to_dir argument to follow along with the api changes in
> svn_client_diff4 and svn_client_diff_peg4.
>
>
> Modified:
> trunk/subversion/bindings/swig/ruby/svn/client.rb
>
> Modified: trunk/subversion/bindings/swig/ruby/svn/client.rb
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/ruby/svn/client.rb?pathrev=27897&r1=27896&r2=27897
> ==============================================================================
> --- trunk/subversion/bindings/swig/ruby/svn/client.rb (original)
> +++ trunk/subversion/bindings/swig/ruby/svn/client.rb Fri Nov 16 21:22:08 2007
> @@ -282,9 +282,9 @@
> out_file, err_file, depth=nil,
> ignore_ancestry=false,
> no_diff_deleted=false, force=false,
> - header_encoding=nil)
> + header_encoding=nil, relative_to_dir=nil)
> header_encoding ||= Core::LOCALE_CHARSET
> - Client.diff4(options, path1, rev1, path2, rev2,
> + Client.diff4(options, path1, rev1, path2, rev2, relative_to_dir,
> depth, ignore_ancestry,
> no_diff_deleted, force, header_encoding,
> out_file, err_file, self)
> @@ -294,10 +294,10 @@
> out_file, err_file, peg_rev=nil,
> depth=nil, ignore_ancestry=false,
> no_diff_deleted=false, force=false,
> - header_encoding=nil)
> + header_encoding=nil, relative_to_dir=nil)
> header_encoding ||= Core::LOCALE_CHARSET
> Client.diff_peg4(options, path, peg_rev, start_rev, end_rev,
> - depth, ignore_ancestry,
> + relative_to_dir, depth, ignore_ancestry,
> no_diff_deleted, force, header_encoding,
> out_file, err_file, self)
> end
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

-- 
Daniel Rall

  • application/pgp-signature attachment: stored
Received on Wed Nov 21 06:59:51 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.