Author: julianfoad
Date: Fri Jan 21 12:02:53 2022
New Revision: 1897294
URL: http://svn.apache.org/viewvc?rev=1897294&view=rev
Log:
On the 'pristines-on-demand' branch:
(textbase_walk_cb): Add a doc string.
Modified:
subversion/branches/pristines-on-demand/subversion/libsvn_wc/textbase.c
Modified:
subversion/branches/pristines-on-demand/subversion/libsvn_wc/textbase.c
URL:
http://svn.apache.org/viewvc/subversion/branches/pristines-on-demand/subversion/libsvn_wc/textbase.c?rev=1897294&r1=1897293&r2=1897294&view=diff
==============================================================================
--- subversion/branches/pristines-on-demand/subversion/libsvn_wc/textbase.c
(original)
+++ subversion/branches/pristines-on-demand/subversion/libsvn_wc/textbase.c Fri
Jan 21 12:02:53 2022
@@ -452,7 +452,14 @@ typedef struct textbase_sync_baton_t
void *hydrate_baton;
} textbase_sync_baton_t;
-/* Implements svn_wc__db_textbase_walk_cb_t. */
+/* Decide whether the text base should be referenced (or "pinned")
+ * for the WC node {LOCAL_ABSPATH, OP_DEPTH}.
+ *
+ * The node's text base should be referenced if either
+ * - the node is locally deleted or replaced
+ * - the node's text is locally modified
+ *
+ * Implements svn_wc__db_textbase_walk_cb_t. */
static svn_error_t *
textbase_walk_cb(svn_boolean_t *referenced_p,
void *baton,