tree.c (251886) | tree.c (253734) |
---|---|
1/* tree.c : tree-like filesystem, built on DAG filesystem 2 * 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 4797 unchanged lines hidden (view full) --- 4806 struct get_set_node_origin_args args; 4807 const svn_fs_id_t *origin_id = NULL; 4808 struct id_created_rev_args icr_args; 4809 4810 /* Canonicalize the input path so that the path-math that 4811 prev_location() does below will work. */ 4812 path = svn_fs__canonicalize_abspath(path, pool); 4813 | 1/* tree.c : tree-like filesystem, built on DAG filesystem 2 * 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 4797 unchanged lines hidden (view full) --- 4806 struct get_set_node_origin_args args; 4807 const svn_fs_id_t *origin_id = NULL; 4808 struct id_created_rev_args icr_args; 4809 4810 /* Canonicalize the input path so that the path-math that 4811 prev_location() does below will work. */ 4812 path = svn_fs__canonicalize_abspath(path, pool); 4813 |
4814 /* Special-case the root node (for performance reasons) */ 4815 if (strcmp(path, "/") == 0) 4816 { 4817 *revision = 0; 4818 return SVN_NO_ERROR; 4819 } 4820 |
|
4814 /* If we have support for the node-origins table, we'll try to use 4815 it. */ 4816 if (bfd->format >= SVN_FS_BASE__MIN_NODE_ORIGINS_FORMAT) 4817 { 4818 const svn_fs_id_t *id; 4819 svn_error_t *err; 4820 4821 SVN_ERR(base_node_id(&id, root, path, pool)); --- 630 unchanged lines hidden --- | 4821 /* If we have support for the node-origins table, we'll try to use 4822 it. */ 4823 if (bfd->format >= SVN_FS_BASE__MIN_NODE_ORIGINS_FORMAT) 4824 { 4825 const svn_fs_id_t *id; 4826 svn_error_t *err; 4827 4828 SVN_ERR(base_node_id(&id, root, path, pool)); --- 630 unchanged lines hidden --- |