subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r1066923 - /subversion/trunk/subversion/libsvn_client/add.c
Date Thu, 03 Feb 2011 19:42:49 GMT
Author: cmpilato
Date: Thu Feb  3 19:42:49 2011
New Revision: 1066923

URL: http://svn.apache.org/viewvc?rev=1066923&view=rev
Log:
Fix a path encoding bug.  When running:

  svn mkdir "http://.../some dir" "http://.../some dir/child"

the code was URI-encoding "some dir" in a place where an unencoded
relpath was expected.

authz_tests.py 4 revealed this problem (and now passes again as a
result of the fix).

* subversion/libsvn_client/add.c
  (mkdir_urls): Don't URI the re-split URLs basename.

Modified:
    subversion/trunk/subversion/libsvn_client/add.c

Modified: subversion/trunk/subversion/libsvn_client/add.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/add.c?rev=1066923&r1=1066922&r2=1066923&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/add.c (original)
+++ subversion/trunk/subversion/libsvn_client/add.c Thu Feb  3 19:42:49 2011
@@ -773,8 +773,8 @@ mkdir_urls(const apr_array_header_t *url
       if (resplit)
         {
           const char *bname;
+
           svn_uri_split(&common, &bname, common, pool);
-          bname = svn_path_uri_encode(bname, pool);
           for (i = 0; i < targets->nelts; i++)
             {
               const char *path = APR_ARRAY_IDX(targets, i, const char *);



Mime
View raw message