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

[PATCH 2 of 2] Fix peg revision parsing for repository root relative urls

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: Wed, 30 Apr 2008 22:30:54 -0500

This patch actually uses the result of the last patch to correctly handle the
peg revision case in repository root relative urls.

Remove duplicated peg revision parsing functionality from
svn_client_args_to_target_array() and svn_opt_args_to_target_array3().

* subversion/libsvn_subr/opt.c
  (svn_opt_args_to_target_array3): Remove the peg revision preserving logic,
   relying instead on the new peg revision support in
   svn_opt__arg_canonicalize_path() and svn_opt__arg_canonicalize_url().

* subversion/libsvn_client/cmdline.c
  (svn_client_args_to_target_array): Remove the peg revision preserving logic,
   relying instead on the new peg support in svn_opt__arg_canonicalize_path()
   and svn_opt__arg_canonicalize_url().

* subversion/tests/cmdline/basic_tests.py
  (basic_relative_url_with_peg_revisions): New test functions.
  (test_list): Call the new test function.

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_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-05-01 05:31:09 CEST

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.