Author: hwright
Date: Thu Jan 12 20:33:50 2012
New Revision: 1230764
URL: http://svn.apache.org/viewvc?rev=1230764&view=rev
Log:
Ev2 shims: Attempt to use the txn base revision if not given a valid one.
Current number of Ev2 test failures: 107
(Some of the fixes are attributable to prior changes made to the test suite.)
* subversion/libsvn_repos/commit.c
(fetch_base_func): If the given base revision is invalid, let's try the base
of the txn.
Modified:
subversion/trunk/subversion/libsvn_repos/commit.c
Modified: subversion/trunk/subversion/libsvn_repos/commit.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/commit.c?rev=1230764&r1=1230763&r2=1230764&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/commit.c (original)
+++ subversion/trunk/subversion/libsvn_repos/commit.c Thu Jan 12 20:33:50 2012
@@ -849,10 +849,7 @@ fetch_base_func(const char **filename,
svn_error_t *err;
if (!SVN_IS_VALID_REVNUM(base_revision))
- {
- *filename = NULL;
- return SVN_NO_ERROR;
- }
+ base_revision = svn_fs_txn_base_revision(eb->txn);
if (svn_path_is_url(path))
{