On the fsfs-format7 branch:  Do a bit of refactoring by moving common
code into a separate function.

* subversion/libsvn_fs_fs/transaction.c
  (digests_final): new utility function
  (rep_write_contents_close,
   write_hash_rep,
   write_hash_delta_rep): use the new utility


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsfs-format7@1462440 13f79535-47bb-0310-9956-ffa450edef68