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 <[email protected]> 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)
