subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1653982 - /subversion/branches/pin-externals/subversion/libsvn_client/copy.c
Date Thu, 22 Jan 2015 18:11:08 GMT
Author: stsp
Date: Thu Jan 22 18:11:07 2015
New Revision: 1653982

URL: http://svn.apache.org/r1653982
Log:
On the pin-externals branch, don't canonicalize URLs parsed from external's
descriptions while pinning. Else we end up transforming some external URLs in
undesired ways, e.g. ///some/path@REV becomes /some/path@REV for the pinned
external.

* subversion/libsvn_client/copy.c
  (pin_externals_prop): Don't ask svn_wc_parse_externals_description3() to
   canonicalize URLs.

Modified:
    subversion/branches/pin-externals/subversion/libsvn_client/copy.c

Modified: subversion/branches/pin-externals/subversion/libsvn_client/copy.c
URL: http://svn.apache.org/viewvc/subversion/branches/pin-externals/subversion/libsvn_client/copy.c?rev=1653982&r1=1653981&r2=1653982&view=diff
==============================================================================
--- subversion/branches/pin-externals/subversion/libsvn_client/copy.c (original)
+++ subversion/branches/pin-externals/subversion/libsvn_client/copy.c Thu Jan 22 18:11:07
2015
@@ -199,11 +199,12 @@ pin_externals_prop(svn_string_t **pinned
 
   SVN_DBG(("repos_root_url: %s", repos_root_url));
   SVN_DBG(("local_abspath_or_url: %s", local_abspath_or_url));
+  SVN_DBG(("externals_prop_val: %s", externals_prop_val->data));
 
   SVN_ERR(svn_wc_parse_externals_description3(&external_items,
                                               local_abspath_or_url,
                                               externals_prop_val->data,
-                                              TRUE /* canonicalize_url */,
+                                              FALSE /* canonicalize_url */,
                                               scratch_pool));
 
   buf = svn_stringbuf_create_empty(scratch_pool);



Mime
View raw message