subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1553377 - /subversion/trunk/subversion/libsvn_ra_serf/commit.c
Date Wed, 25 Dec 2013 13:04:25 GMT
Author: rhuijben
Date: Wed Dec 25 13:04:24 2013
New Revision: 1553377

URL: http://svn.apache.org/r1553377
Log:
* subversion/libsvn_ra_serf/commit.c
  (add_directory): Following up on r1553376, apply the same fix to directories.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/commit.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/commit.c?rev=1553377&r1=1553376&r2=1553377&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/commit.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/commit.c Wed Dec 25 13:04:24 2013
@@ -1602,7 +1602,7 @@ add_directory(const char *path,
   dir->added = TRUE;
   dir->base_revision = SVN_INVALID_REVNUM;
   dir->copy_revision = copyfrom_revision;
-  dir->copy_path = copyfrom_path;
+  dir->copy_path = apr_pstrdup(dir->pool, copyfrom_path);
   dir->relpath = apr_pstrdup(dir->pool, path);
   dir->name = svn_relpath_basename(dir->relpath, NULL);
   dir->changed_props = apr_hash_make(dir->pool);



Mime
View raw message