Instead of calculating and verifying the pristine copy of a file before updating it, calculate and verify the used text base (base/revert/copied) stream while applying the delta using the new stream checksum api.
Instead of calculating and verifying the pristine copy of a file before
updating it, calculate and verify the used text base (base/revert/copied)
stream while applying the delta using the new stream checksum api.

This avoids reading the pristine version of a file twice.

* subversion/libsvn_wc/update_editor.c
  (handler_baton): Add 3 variables for calculating the checksum.
  (window_handler): When finished ok or with an error verify the checksum.
  (apply_textdelta): Stop verifying if the checksum in the entries file is
    correct. Instead compare the value with the expected value and setup a
    checksum stream to validate while applying the text delta.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion