summaryrefslogtreecommitdiff
path: root/subversion/libsvn_client/util.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-05-31 20:58:28 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-05-31 20:58:28 +0000
commitbbee6e0814d5875b85b81f26fd4ca7a28b6f9570 (patch)
tree726fcf32b39ca8976d7aa51b67c7236509f1bde4 /subversion/libsvn_client/util.c
parent38cef28c88864beaadac7a7cffdec6da952c3eb2 (diff)
Notes
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;
}