|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-06-09 02:57 UTC] he dot chen at zte dot com dot cn
Description:
------------
How to use svn_delete to delete items directly from a svn
repository?
Reproduce code:
---------------
I tried
svn_delete("https://192.168.0.100/test.php"), but failed.
Expected result:
----------------
svn_delete can delete directly from a svn repository
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 07:00:02 2025 UTC |
I have enhanced the svn_delete() in svn.c and rebuild to php_svn.dll to solve the problem svn_delete(string log, string path [, bool force = true]) if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &log, &loglen, &path, &pathlen, &force)) { SVN_G(ctx)->log_msg_baton = log; err = svn_client_delete2(&info, targets, force, SVN_G(ctx), subpool); SVN_G(ctx)->log_msg_baton = NULL;I have enhanced the svn_delete() in svn.c and rebuild to php_svn.dll to solve the problem svn_delete(string log, string path [, bool force = true]) if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &log, &loglen, &path, &pathlen, &force)) { SVN_G(ctx)->log_msg_baton = log; err = svn_client_delete2(&info, targets, force, SVN_G(ctx), subpool); SVN_G(ctx)->log_msg_baton = NULL;