subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1577238 - /subversion/trunk/subversion/svnsync/svnsync.c
Date Thu, 13 Mar 2014 16:43:53 GMT
Author: philip
Date: Thu Mar 13 16:43:52 2014
New Revision: 1577238

URL: http://svn.apache.org/r1577238
Log:
* subversion/svnsync/svnsync.c
  (open_source_session): When using svn:sync-from-url canonicalize it
   to avoid asserting if a non-canonical value is stored.

Modified:
    subversion/trunk/subversion/svnsync/svnsync.c

Modified: subversion/trunk/subversion/svnsync/svnsync.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnsync/svnsync.c?rev=1577238&r1=1577237&r2=1577238&view=diff
==============================================================================
--- subversion/trunk/subversion/svnsync/svnsync.c (original)
+++ subversion/trunk/subversion/svnsync/svnsync.c Thu Mar 13 16:43:52 2014
@@ -936,7 +936,8 @@ open_source_session(svn_ra_session_t **f
   /* ### TODO: Should we validate that FROM_URL_STR->data matches any
      provided FROM_URL here?  */
   if (! from_url)
-    from_url = from_url_str->data;
+    SVN_ERR(svn_opt__arg_canonicalize_url(&from_url, from_url_str->data,
+                                          pool));
 
   /* Open the session to copy the revision data. */
   SVN_ERR(svn_ra_open4(from_session, NULL, from_url, from_uuid_str->data,



Mime
View raw message