On the 'pristines-on-demand-on-mwf' branch: Send notifications from the
svn_wc_textbase_sync() function, rather from an internal svn_client function.

Do this to ensure that we'll only send the notifications when a working copy
doesn't store local pristines, as we check that in svn_wc_textbase_sync().
Also this should allow users of the svn_wc API to use the notifications
as well.

* subversion/include/svn_wc.h
  (svn_wc_textbase_sync): Add notify_func and notify_baton.

* subversion/libsvn_wc/textbase.c
  (): Include "svn_path.h".
  (textbase_sync_baton_t): Add `notify_func` and `notify_baton`.
  (textbase_fetch_cb, svn_wc_textbase_sync): Send the notifications from this
   layer instead of sending them from …

* subversion/libsvn_client/textbase.c
  (textbase_fetch_cb, svn_client__textbase_sync): …here.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/pristines-on-demand-on-mwf@1905767 13f79535-47bb-0310-9956-ffa450edef68
3 files changed