You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/05/27 19:29:34 UTC
svn commit: r948916 -
/subversion/trunk/subversion/bindings/javahl/native/SVNAdmin.cpp
Author: hwright
Date: Thu May 27 17:29:34 2010
New Revision: 948916
URL: http://svn.apache.org/viewvc?rev=948916&view=rev
Log:
Bring the JavaHL verification API into some state of modernness.
Found by: John Chambers <jo...@wandisco.com>
Suggested by: julianf
* subversion/bindings/javahl/native/SVNAdmin.cpp
(verify): Use the verify API, rather than just doing a dump-and-ignore-output.
Modified:
subversion/trunk/subversion/bindings/javahl/native/SVNAdmin.cpp
Modified: subversion/trunk/subversion/bindings/javahl/native/SVNAdmin.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/SVNAdmin.cpp?rev=948916&r1=948915&r2=948916&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/SVNAdmin.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/SVNAdmin.cpp Thu May 27 17:29:34 2010
@@ -490,12 +490,10 @@ void SVNAdmin::verify(const char *path,
(SVN_ERR_INCORRECT_PARAMS, NULL,
_("Start revision cannot be higher than end revision")), );
- SVN_JNI_ERR(svn_repos_dump_fs2(repos, NULL,
- messageOut.getStream(requestPool),
- lower, upper, FALSE /* incremental */,
- TRUE /* use deltas */,
- NULL, NULL /* cancel callback/baton */,
- requestPool.pool()), );
+ SVN_JNI_ERR(svn_repos_verify_fs(repos, messageOut.getStream(requestPool),
+ lower, upper,
+ NULL, NULL /* cancel callback/baton */,
+ requestPool.pool()), );
}
jobject SVNAdmin::lslocks(const char *path)