Since it is now easy to calculate the absolute path from a diff handler, we can just use that in the deprecated wrapper instead of the stupid 'local_dir_abspath' argument hack I added earlier in 1.7 development for this single reason. (Whether it is hashed in DB will provide the necessary check on whether the directory is available locally. And because we are providing a diff, this is exactly the information we need here)
Since it is now easy to calculate the absolute path from a diff handler, we
can just use that in the deprecated wrapper instead of the stupid
'local_dir_abspath' argument hack I added earlier in 1.7 development
for this single reason.
(Whether it is hashed in DB will provide the necessary check on whether
the directory is available locally. And because we are providing a diff, this
is exactly the information we need here)

* subversion/libsvn_wc/deprecated.c
  (diff_callbacks3_wrapper_baton): Store anchor_abspath.
  (wrap_4to3_file_changed,
   wrap_4to3_file_added,
   wrap_4to3_file_deleted): Calculate directory path and just check if we have
     an access baton for it.
  (wrap_4to3_dir_added,
   wrap_4to3_dir_deleted,
   wrap_4to3_dir_props_changed,
   wrap_4to3_dir_opened,
   wrap_4to3_dir_closed): Check if we have an access baton for the directory
     and return that.
  (svn_wc_get_diff_editor5,
   svn_wc_diff5): Update callers.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1096450 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion