/[Apache-SVN]
ViewVC logotype

Revision 1583977


Jump to revision: Previous Next
Author: ivan
Date: Wed Apr 2 11:45:06 2014 UTC (10 years, 1 month ago)
Changed paths: 2
Log Message:
Do not leave dead transaction if commit is blocked by start-commit hook. Also
fix svn_repos_fs_begin_txn_for_commit2() API promise regression that was 
broken in r1376201.

* subversion/libsvn_repos/fs-wrap.c
  (svn_repos_fs_begin_txn_for_commit2): Abort created transaction if error 
   happens between transaction creation and successful return from 
   function as promised in docstring. Also keep output *TXN_P 
   parameter unaffected on failure as promised in docstring.

* subversion/tests/cmdline/commit_tests.py
  (start_commit_hook_test): Verify that there is no dead transaction left 
   when commit was blocked by start-commit hook.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_repos/fs-wrap.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/commit_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26