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

[PATCH] Client relative url support infrastructure and merge implementation

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-11-10 22:25:52 CET

Initial support for repository root relative URLs in the svn command line
client. This includes all the functions for detecting and resolving relative
URLs and full support of relative urls in the merge subcommand of the svn

* subversion/include/svn_path.h,
  (svn_path_is_relative_url): New function.
  (svn_path_array_has_relative_url): New function.
  (svn_path_resolve_relative_url): New function.
  (svn_path_resolve_relative_url_array): New function.

* subversion/include/svn_wc.h,
  (svn_wc_get_absolute_url): New function.
  (svn_wc_get_absolute_url_array): New function.

* subversion/libsvn_client/externals.c
  (resolve_relative_external_url): Put a small note pointing out that there is
  a partial reimplementation of some of the functionality found in

* subversion/svn/merge-cmd.c
  (svn_cl__merge): Add a call to svn_wc_get_absolute_url_array to support
                   relative urls in the target list.

* subversion/tests/libsvn_subr/path-test.c
   test_resolve_relative_url_array): New path test functions.
  (test_funcs): Add test_is_relative_url, test_array_has_relative_url,
  test_resolve_relative_url, and test_resolve_relative_url_array to the list
  of test functions.

* subversion/tests/cmdline/merge_tests.py
  (merge_with_relative_urls): New merge test function.
  (test_list): Add merge_with_relative_urls to the list of test functions.

Here is my real submission of adding relative url support to the
commandline client. Someone suggested that I fully implement, document, and
create tests for one of the subcommands, submit that, then continue with the
other subcommands. So here it is! Tell me what you think.


"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)

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

Received on Sat Nov 10 22:26:06 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.