If any work is done that can return an error before the real svn_fs_commit_txn() implementation is executed, then make sure to set *new_rev to SVN_INVALID_REVNUM so callers can check if the commit was successful.
If any work is done that can return an error before the real
svn_fs_commit_txn() implementation is executed, then make sure to set
*new_rev to SVN_INVALID_REVNUM so callers can check if the commit was
successful.

This partially implements svn_fs_commit_txn()'s contract that *new_rev
tells if the transaction was committed; if it isn't set, then callers
will not be able to tell if the transaction was committed unless they
set the revision number to SVN_INVALID_REVNUM themselves, which isn't
required.

* subversion/libsvn_fs/fs-loader.c
  (svn_fs_commit_txn):
    Set *new_rev to SVN_INVALID_REVNUM if PACK_AFTER_EVERY_COMMIT is
    defined.


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

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