diff options
author | peter <peter@FreeBSD.org> | 2014-02-20 19:26:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2014-02-20 19:26:10 +0000 |
commit | b168ae828108b6f3a7d68ace24b6e8383a081fb5 (patch) | |
tree | e6232088e2faabbf0f1a6e568df3285323f27c5c /subversion/libsvn_ra_serf/commit.c | |
parent | d071fadd4866ee3cac65d15a4f6283a75939137d (diff) | |
download | FreeBSD-src-b168ae828108b6f3a7d68ace24b6e8383a081fb5.zip FreeBSD-src-b168ae828108b6f3a7d68ace24b6e8383a081fb5.tar.gz |
Vendor import svn-1.8.8
Diffstat (limited to 'subversion/libsvn_ra_serf/commit.c')
-rw-r--r-- | subversion/libsvn_ra_serf/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subversion/libsvn_ra_serf/commit.c b/subversion/libsvn_ra_serf/commit.c index 9682a65..4950ac4 100644 --- a/subversion/libsvn_ra_serf/commit.c +++ b/subversion/libsvn_ra_serf/commit.c @@ -1638,7 +1638,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); @@ -1880,7 +1880,7 @@ add_file(const char *path, new_file->name = svn_relpath_basename(new_file->relpath, NULL); new_file->added = TRUE; new_file->base_revision = SVN_INVALID_REVNUM; - new_file->copy_path = copy_path; + new_file->copy_path = apr_pstrdup(new_file->pool, copy_path); new_file->copy_revision = copy_revision; new_file->changed_props = apr_hash_make(new_file->pool); new_file->removed_props = apr_hash_make(new_file->pool); |