diff options
author | Peter Wemm <peter@FreeBSD.org> | 2014-02-20 19:26:10 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2014-02-20 19:26:10 +0000 |
commit | 219f5ebf8fca3572d8d4265d78d0e4670ca35a27 (patch) | |
tree | e6232088e2faabbf0f1a6e568df3285323f27c5c /subversion/libsvn_ra_serf/commit.c | |
parent | eeb88685bfa4ef1c0639f1136d83ff19de1b4595 (diff) | |
download | src-219f5ebf8fca3572d8d4265d78d0e4670ca35a27.tar.gz src-219f5ebf8fca3572d8d4265d78d0e4670ca35a27.zip |
Vendor import svn-1.8.8vendor/subversion/subversion-1.8.8
Notes
Notes:
svn path=/vendor/subversion/dist/; revision=262248
svn path=/vendor/subversion/subversion-1.8.8/; revision=262249; tag=vendor/subversion/subversion-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 9682a65f2021..4950ac48911a 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); |