You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/06/24 15:44:35 UTC
svn commit: r957546 - in /subversion/trunk/subversion:
include/private/svn_wc_private.h libsvn_wc/copy.c libsvn_wc/entries.h
libsvn_wc/node.c
Author: hwright
Date: Thu Jun 24 13:44:34 2010
New Revision: 957546
URL: http://svn.apache.org/viewvc?rev=957546&view=rev
Log:
Decrease the scope of the declaration for svn_wc__get_entry_versioned().
* subversion/include/private/svn_wc_private.h
(svn_wc__get_entry_versioned): Remove.
* subversion/libsvn_wc/copy.c,
subversion/libsvn_wc/node.c:
Add add appropriate include.
* subversion/libsvn_wc/entries.h
(svn_wc__get_entry_versioned): New.
Modified:
subversion/trunk/subversion/include/private/svn_wc_private.h
subversion/trunk/subversion/libsvn_wc/copy.c
subversion/trunk/subversion/libsvn_wc/entries.h
subversion/trunk/subversion/libsvn_wc/node.c
Modified: subversion/trunk/subversion/include/private/svn_wc_private.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_wc_private.h?rev=957546&r1=957545&r2=957546&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_wc_private.h (original)
+++ subversion/trunk/subversion/include/private/svn_wc_private.h Thu Jun 24 13:44:34 2010
@@ -44,24 +44,6 @@ extern "C" {
#endif /* __cplusplus */
-/** Similar to svn_wc__get_entry() and svn_wc__entry_versioned().
- *
- * This function allows callers in libsvn_client to directly fetch entry data
- * without having to open up an adm_access baton. Its error and return
- * semantics are the same as svn_wc__entry_versioned(), and parameters are the
- * same as svn_wc__get_entry() (defined in libsvn_wc/entries.h).
- */
-svn_error_t *
-svn_wc__get_entry_versioned(const svn_wc_entry_t **entry,
- svn_wc_context_t *wc_ctx,
- const char *local_abspath,
- svn_node_kind_t kind,
- svn_boolean_t show_hidden,
- svn_boolean_t need_parent_stub,
- apr_pool_t *result_pool,
- apr_pool_t *scratch_pool);
-
-
/** Given a @a local_abspath with a @a wc_ctx, set @a *switched to
* TRUE if @a local_abspath is switched, otherwise set @a *switched to FALSE.
* All temporary allocations are done in * @a scratch_pool.
Modified: subversion/trunk/subversion/libsvn_wc/copy.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/copy.c?rev=957546&r1=957545&r2=957546&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/copy.c (original)
+++ subversion/trunk/subversion/libsvn_wc/copy.c Thu Jun 24 13:44:34 2010
@@ -39,6 +39,7 @@
#include "adm_files.h"
#include "props.h"
#include "translate.h"
+#include "entries.h"
#include "svn_private_config.h"
#include "private/svn_wc_private.h"
Modified: subversion/trunk/subversion/libsvn_wc/entries.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/entries.h?rev=957546&r1=957545&r2=957546&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/entries.h (original)
+++ subversion/trunk/subversion/libsvn_wc/entries.h Thu Jun 24 13:44:34 2010
@@ -144,6 +144,24 @@ svn_wc__get_entry(const svn_wc_entry_t *
apr_pool_t *scratch_pool);
+/** Similar to svn_wc__get_entry() and svn_wc__entry_versioned().
+ *
+ * This function allows callers in libsvn_client to directly fetch entry data
+ * without having to open up an adm_access baton. Its error and return
+ * semantics are the same as svn_wc__entry_versioned(), and parameters are the
+ * same as svn_wc__get_entry() (defined in libsvn_wc/entries.h).
+ */
+svn_error_t *
+svn_wc__get_entry_versioned(const svn_wc_entry_t **entry,
+ svn_wc_context_t *wc_ctx,
+ const char *local_abspath,
+ svn_node_kind_t kind,
+ svn_boolean_t show_hidden,
+ svn_boolean_t need_parent_stub,
+ apr_pool_t *result_pool,
+ apr_pool_t *scratch_pool);
+
+
/* Is ENTRY in a 'hidden' state in the sense of the 'show_hidden'
* switches on svn_wc_entries_read(), svn_wc_walk_entries*(), etc.? */
svn_error_t *
Modified: subversion/trunk/subversion/libsvn_wc/node.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/node.c?rev=957546&r1=957545&r2=957546&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/node.c (original)
+++ subversion/trunk/subversion/libsvn_wc/node.c Thu Jun 24 13:44:34 2010
@@ -46,6 +46,7 @@
#include "wc.h"
#include "props.h"
+#include "entries.h"
#include "log.h"
#include "wc_db.h"