Rewrite accumulate_last_change() to only deal with last-change info, and most a scan for lock changes to the one place which needs it. Also, return each of the CHANGED_* values directly, rather than via a structure.
Rewrite accumulate_last_change() to only deal with last-change info, and
most a scan for lock changes to the one place which needs it. Also, return
each of the CHANGED_* values directly, rather than via a structure.

* subversion/libsvn_wc/update_editor.c:
  (struct last_change_info): removed
  (accumulate_last_change): revamp params and docstring. strip out all
    lock state scanning. initialize the OUT values and set them if/when
    they are found in the entry props.
  (close_directory): adjust params to accumulate_last_change. tweak the
    testing for whether to use old/new values.
  (close_file): adjust params to accumulate_last_change. put a scan for
    lock state here. pass the NEW_CHANGED_* params to base_add_file()
  (svn_wc_add_repos_file4): adjust params to accumulate_last_change and
    simplify the call to op_copy_file().


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

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