In the repos-wc diff editor: properly calculate when we can do an ignore ancestry compare and when we really need to report add+delete by managing a shadowed boolean in the dir and file batons.
In the repos-wc diff editor: properly calculate when we can do an ignore
ancestry compare and when we really need to report add+delete by managing
a shadowed boolean in the dir and file batons.

* subversion/libsvn_wc/diff_editor.c
  (dir_baton_t,
   file_baton_t): Move the 3 paths together. Add shadowed boolean.
     Keep boolean for having a textdelta.

  (make_dir_baton,
   make_file_baton): Optimize path initialization.

  (ensure_local_only_handled): Update user.

  (add_directory,
   open_directory,
   add_file,
   open_file): Calculate shadowed.

  (apply_textdelta): Set got_textdelta.

  (close_file): Simplify handling of reporting repository adds.
    Remove now no longer needed error handling.


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

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion