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

[PATCH 1 of 2] Add peg revision support to svn_opt__arg_canonicalize_*()

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

This is the first part of the patch necessary to address correctly handling
peg revision specifications in repository root urls.

[[[
Add peg revision support to svn_opt__arg_canonicalize_url() and
svn_opt__arg_canonicalize_path(). These functions are meant to process
user-input and so should handle the peg revision case.

* subversion/libsvn_subr/opt.c
  (split_arg_at_peg_revision): New function.
  (svn_opt__arg_canonicalize_url,
   svn_opt__arg_canonicalize_path): Allow the input argument to contain a peg
    revision specifier, and preserve it in the output utilizing
    split_arg_at_peg_revision().

* subversion/include/private/svn_opt_private.h
  (svn_opt__arg_canonicalize_url,
   svn_opt__arg_canonicalize_path): Update the doc string to reflect the fact
     that these functions can handle a peg revision in the input argument.
]]]

-- 
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:29:05 CEST

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