Re-enable the copyfrom construction. The errors that I saw before was simply because I forgot to clear a return error.
Re-enable the copyfrom construction. The errors that I saw before was
simply because I forgot to clear a return error.

Also, added a number of tests to ensure that we got a *valid* result from
the scan_working call. During an add or copy, we might be called when the
metadata is in a weird, inconsistent state. When that happens, we'll just
ignore any result and expect to get things fixed up later.

* subversion/libsvn_wc/entries.c:
  (write_entry): re-enable the code that constructs additional copyfrom
    records for mixed-rev working copy copies.


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

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