|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-10-05 21:08 UTC] alan at akbkhome dot com
[2011-10-07 08:17 UTC] shal at semantic-fidelity dot org
[2011-10-10 03:14 UTC] alan_k@php.net
[2011-10-10 07:24 UTC] shal at semantic-fidelity dot org
[2011-10-12 21:06 UTC] felipe@php.net
-Summary: [NEEDS PATCH] not working flag with svn_log
+Summary: not working flag with svn_log
[2011-12-21 15:08 UTC] alan_k@php.net
-Summary: not working flag with svn_log
+Summary: [PATCH NEEDED] not working flag with svn_log
-Type: Bug
+Type: Feature/Change Request
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 18:00:01 2025 UTC |
Description: ------------ svn_log function with default flags (SVN_DISCOVER_CHANGED_PATHS | SVN_STOP_ON_COPY) would not provide me with path changes. Forcing the flags parameter to SVN_DISCOVER_CHANGED_PATHS wouldn't either. Reproduce code: --------------- define( 'SVN_USER_NAME', 'user' ); define( 'SVN_PASSWORD', '' ); define( 'SVN_PROTOCOL', 'svn' ); define( 'SVN_HOST', '127.0.0.1' ); define( 'SVN_REPOSITORY', 'repos/' ); svn_auth_set_parameter( SVN_AUTH_PARAM_DEFAULT_USERNAME, SVN_USER_NAME ); svn_auth_set_parameter( SVN_AUTH_PARAM_DEFAULT_PASSWORD, SVN_PASSWORD ); $url_repository = SVN_PROTOCOL .'://' . SVN_HOST . '/' . SVN_REPOSITORY; $revisions = svn_log( $url_repository, SVN_REVISION_HEAD, SVN_REVISION_INITIAL, 0 ); echo '<pre>revisions', print_r( $revisions, TRUE ), '</pre>'; Expected result: ---------------- [0] => Array, ordered most recent (highest) revision first ( [rev] => integer revision number [author] => string author name [msg] => string log message [date] => string date formatted per ISO 8601, i.e. date('c') [paths] => Array, describing changed files ( [0] => Array ( [action] => string letter signifying change [path] => absolute repository path of changed file ) [1] => ... ) ) Actual result: -------------- [0] => Array, ordered most recent (highest) revision first ( [rev] => integer revision number [author] => string author name [msg] => string log message [date] => string date formatted per ISO 8601, i.e. date('c') )