Lines Matching defs:change

81                         change_t *change,
90 SVN_ERR(svn_fs_base__unparse_change_skel(&skel, change, pool));
96 return BDB_WRAP(fs, N_("creating change"),
130 change_to_fs_change(const change_t *change,
134 svn_fs_base__id_copy(change->noderev_id,
136 change->kind,
138 result->text_mod = change->text_mod;
139 result->prop_mod = change->prop_mod;
148 single succinct change per path. */
152 const change_t *change)
158 if ((old_change = svn_hash_gets(changes, change->path)))
161 this change into the already existing one. */
165 path = change->path;
169 if ((! change->noderev_id) && (change->kind != svn_fs_path_change_reset))
175 revision ID as our last change except where the last change
177 if (change->noderev_id
179 change->noderev_id))
183 _("Invalid change ordering: new node revision ID without delete"));
188 && (! ((change->kind == svn_fs_path_change_replace)
189 || (change->kind == svn_fs_path_change_reset)
190 || (change->kind == svn_fs_path_change_add))))
193 _("Invalid change ordering: non-add change on deleted path"));
197 if ((change->kind == svn_fs_path_change_add)
202 _("Invalid change ordering: add change on preexisting path"));
204 /* Now, merge that change in. */
205 switch (change->kind)
208 /* A reset here will simply remove the path change from the
232 new_change->text_mod = change->text_mod;
233 new_change->prop_mod = change->prop_mod;
242 new_change = change_to_fs_change(change, pool);
255 if (change->text_mod)
257 if (change->prop_mod)
264 /* This change is new to the hash, so make a new public change
267 new_change = change_to_fs_change(change, pool);
268 path = apr_pstrdup(pool, change->path);
311 change_t *change;
317 /* RESULT now contains a change record associated with KEY. We
327 err = svn_fs_base__parse_change_skel(&change, result_skel, iterpool);
332 err = fold_change(changes, deletions, change);
336 /* Now, if our change was a deletion or replacement, we have to
343 if ((change->kind == svn_fs_path_change_delete)
344 || (change->kind == svn_fs_path_change_replace))
361 child_relpath = svn_fspath__skip_ancestor(change->path, hashkey);
379 /* If there are no (more) change records for this KEY, we're
416 change_t *change;
417 apr_array_header_t *changes = apr_array_make(pool, 4, sizeof(change));
437 /* RESULT now contains a change record associated with KEY. We
447 err = svn_fs_base__parse_change_skel(&change, result_skel, pool);
452 APR_ARRAY_PUSH(changes, change_t *) = change;
462 /* If there are no (more) change records for this KEY, we're