From 91308aec6ca93cab82659cd43b3f6a83d366350b Mon Sep 17 00:00:00 2001 From: svnmir Date: Sun, 9 Aug 2015 04:37:48 +0000 Subject: Vendor import subversion-1.8.14 --- subversion/libsvn_wc/entries.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'subversion/libsvn_wc/entries.c') diff --git a/subversion/libsvn_wc/entries.c b/subversion/libsvn_wc/entries.c index f6a73bf..24dae50 100644 --- a/subversion/libsvn_wc/entries.c +++ b/subversion/libsvn_wc/entries.c @@ -2140,17 +2140,18 @@ write_entry(struct write_baton **entry_node, below_working_node->presence = svn_wc__db_status_normal; below_working_node->kind = entry->kind; below_working_node->repos_id = work->repos_id; + below_working_node->revision = work->revision; /* This is just guessing. If the node below would have been switched or if it was updated to a different version, the guess would fail. But we don't have better information pre wc-ng :( */ if (work->repos_relpath) below_working_node->repos_relpath - = svn_relpath_join(work->repos_relpath, entry->name, + = svn_relpath_join(work->repos_relpath, + svn_relpath_basename(local_relpath, NULL), result_pool); else below_working_node->repos_relpath = NULL; - below_working_node->revision = parent_node->work->revision; /* The revert_base checksum isn't available in the entry structure, so the caller provides it. */ -- cgit v1.1