
Make the dump-editor recognize replacements.

* dump.c 
  (struct dir_baton):  hold a hash of deleted entrynames, and a pool.
  (make_dir_baton): initialize hash.
  (delete_entry): add items to the hash.
  (add_file, add_directory):  if already deleted, dump with 'replace' flag.
  (close_directory):  new func. dump any paths left in the hash.
  (get_dump_editor):  use close_directory.


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

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