subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r880751 - /subversion/trunk/subversion/svn/checkout-cmd.c
Date Mon, 16 Nov 2009 13:52:55 GMT
Author: julianfoad
Date: Mon Nov 16 13:52:54 2009
New Revision: 880751

URL: http://svn.apache.org/viewvc?rev=880751&view=rev
Log:
Use the new dirent/URI/path functions to resolve some deprecation warnings.

* subversion/svn/checkout-cmd.c
  (svn_cl__checkout): Use 'svn_uri_canonicalize()'.

Patch by: Kannan R <kannanr@collab.net>

Modified:
    subversion/trunk/subversion/svn/checkout-cmd.c

Modified: subversion/trunk/subversion/svn/checkout-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/checkout-cmd.c?rev=880751&r1=880750&r2=880751&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/checkout-cmd.c (original)
+++ subversion/trunk/subversion/svn/checkout-cmd.c Mon Nov 16 13:52:54 2009
@@ -94,7 +94,7 @@
           /* Discard the peg-revision, if one was provided. */
           SVN_ERR(svn_opt_parse_path(&pegrev, &local_dir, local_dir, pool));
           if (pegrev.kind != svn_opt_revision_unspecified)
-            local_dir = svn_path_canonicalize(local_dir, pool);
+            local_dir = svn_uri_canonicalize(local_dir, pool);
 
           local_dir = svn_uri_basename(local_dir, pool);
           local_dir = svn_path_uri_decode(local_dir, pool);
@@ -139,7 +139,7 @@
       SVN_ERR(svn_opt_parse_path(&peg_revision, &true_url, repos_url,
                                  subpool));
 
-      true_url = svn_path_canonicalize(true_url, subpool);
+      true_url = svn_uri_canonicalize(true_url, subpool);
 
       /* Use sub-directory of destination if checking-out multiple URLs */
       if (targets->nelts == 2)



Mime
View raw message