|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-19 09:17 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
Description: ------------ There are no constants defined for the svn_wc_schedule_t enum type, specifically: typedef enum svn_wc_schedule_t { /** Nothing special here */ svn_wc_schedule_normal, /** Slated for addition */ svn_wc_schedule_add, /** Slated for deletion */ svn_wc_schedule_delete, /** Slated for replacement (delete + add) */ svn_wc_schedule_replace } svn_wc_schedule_t; This is necessary for reading the "schedule" keypair in the return value of svn_status(). Patch: Index: svn/svn.c =================================================================== RCS file: /repository/pecl/svn/svn.c,v retrieving revision 1.26 diff -u -r1.26 svn.c --- svn/svn.c 25 Apr 2007 04:41:23 -0000 1.26 +++ svn/svn.c 26 May 2007 16:16:04 -0000 @@ -437,6 +437,11 @@ LONG_CONST(svn_node_file); LONG_CONST(svn_node_dir); LONG_CONST(svn_node_unknown); + + LONG_CONST(svn_wc_schedule_normal); + LONG_CONST(svn_wc_schedule_add); + LONG_CONST(svn_wc_schedule_delete); + LONG_CONST(svn_wc_schedule_replace); /* this is probably temporary until we sort out a proper revision parser. */ REGISTER_LONG_CONSTANT("SVN_REVISON_HEAD", -1, CONST_CS|CONST_PERSISTENT);