18 lines
817 B
Diff
18 lines
817 B
Diff
|
|
||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1922303
|
||
|
https://github.com/apache/subversion/commit/c83d9e5db564bdbbd91a7eb1c9399f66f481361c
|
||
|
|
||
|
--- a/subversion/libsvn_repos/config_file.c
|
||
|
+++ b/subversion/libsvn_repos/config_file.c
|
||
|
@@ -237,6 +237,10 @@ get_repos_config(svn_stream_t **stream,
|
||
|
{
|
||
|
/* Search for a repository in the full path. */
|
||
|
repos_root_dirent = svn_repos_find_root_path(dirent, scratch_pool);
|
||
|
+ if (repos_root_dirent == NULL)
|
||
|
+ return svn_error_trace(handle_missing_file(stream, checksum, access,
|
||
|
+ url, must_exist,
|
||
|
+ svn_node_none));
|
||
|
|
||
|
/* Attempt to open a repository at repos_root_dirent. */
|
||
|
SVN_ERR(svn_repos_open3(&access->repos, repos_root_dirent, NULL,
|