Madan U Sreenivasan wrote:
> I have a situation while implementing wc to repos copy for
> merge-tracking. I decided to mail the list, since breaking my head over
> it didnt turn out any useful choices.
> The situation:
> svn_client__do_commit() function uses the do_item_commit() function to
> check-in changes from the working copy. But it does not use the whole of
> the commit_items array (an array of svn_client_commit_item2_t). Instead
> only the paths from the commit_items array are passed to do_item_commit().
How do you figure?
static svn_error_t *
const char *path,
struct path_driver_cb_baton *cb_baton = callback_baton;
svn_client_commit_item2_t *item = apr_hash_get(cb_baton->commit_items,
The first thing this function does is get a point to the object in the
commit_items *hash* (not "array", as you state) that corresponds to the
path. From there, that objects members are dereferenced all *over* that
I think you need to take a closer look at how svn_client__do_commit()
and do_item_commit() really work. You might be getting confused by the
fact that cb.commit_items is a hash created from the original
C. Michael Pilato <email@example.com>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Wed Nov 15 20:07:19 2006