config_file.c (362181) | config_file.c (369302) |
---|---|
1/* 2 * config_file.c : efficiently read config files from disk or repo 3 * 4 * ==================================================================== 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file --- 223 unchanged lines hidden (view full) --- 232 access->repos = NULL; 233 } 234 235 /* Open repos if no suitable repos is available. */ 236 if (!access->repos) 237 { 238 /* Search for a repository in the full path. */ 239 repos_root_dirent = svn_repos_find_root_path(dirent, scratch_pool); | 1/* 2 * config_file.c : efficiently read config files from disk or repo 3 * 4 * ==================================================================== 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file --- 223 unchanged lines hidden (view full) --- 232 access->repos = NULL; 233 } 234 235 /* Open repos if no suitable repos is available. */ 236 if (!access->repos) 237 { 238 /* Search for a repository in the full path. */ 239 repos_root_dirent = svn_repos_find_root_path(dirent, scratch_pool); |
240 if (repos_root_dirent == NULL) 241 return svn_error_trace(handle_missing_file(stream, checksum, access, 242 url, must_exist, 243 svn_node_none)); |
|
240 241 /* Attempt to open a repository at repos_root_dirent. */ 242 SVN_ERR(svn_repos_open3(&access->repos, repos_root_dirent, NULL, 243 access->pool, scratch_pool)); 244 } 245 246 fs_path = &dirent[strlen(repos_root_dirent)]; 247 --- 139 unchanged lines hidden --- | 244 245 /* Attempt to open a repository at repos_root_dirent. */ 246 SVN_ERR(svn_repos_open3(&access->repos, repos_root_dirent, NULL, 247 access->pool, scratch_pool)); 248 } 249 250 fs_path = &dirent[strlen(repos_root_dirent)]; 251 --- 139 unchanged lines hidden --- |