aboutsummaryrefslogtreecommitdiffstats
path: root/subversion/libsvn_client/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_client/util.c')
-rw-r--r--subversion/libsvn_client/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subversion/libsvn_client/util.c b/subversion/libsvn_client/util.c
index 248412b04e8d..f6612b96e9bf 100644
--- a/subversion/libsvn_client/util.c
+++ b/subversion/libsvn_client/util.c
@@ -93,6 +93,7 @@ svn_client__pathrev_create_with_session(svn_client__pathrev_t **pathrev_p,
pathrev->rev = rev;
pathrev->url = apr_pstrdup(result_pool, url);
*pathrev_p = pathrev;
+ SVN_ERR_ASSERT(svn_uri__is_ancestor(pathrev->repos_root_url, url));
return SVN_NO_ERROR;
}