In the working copy diff editor: decouple directory and file batons from their parents. This allows using the pools contained in these batons as scratch pools and reduces the obfuscation introduced by using multiple 'compared' sets in different places.
In the working copy diff editor: decouple directory and file batons from their
parents. This allows using the pools contained in these batons as scratch pools
and reduces the obfuscation introduced by using multiple 'compared' sets in
different places.

* subversion/libsvn_wc/diff_editor.c
  (dir_baton,
   file_baton): Remove parent_baton variable.
  (make_dir_baton,
   make_file_baton): Create subpool to store data in.
  (add_directory,
   open_directory): Directly mark these directories as compared in the
     parent directory instead of in close_directory.
  (close_directory): Use directory pool as scratch pool and destroy it on
     return. Don't use parent dir baton.
  (close_file): Use file pool as scratch pool and destroy pool on return.


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

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