|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-29 22:25 UTC] alan at akbkhome dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
Description: ------------ svn_diff() does not seem to like target paths passed to it that only have backslashes. This is probably an artifact of not properly validating path1 and path2 before shuttling it off to svn_client_diff(), although I haven't the foggiest why this behavior would be the case. Temporary fix is to replaces backslashes with regular slashes. Only one is necessary. Possibly related to the bad-relative-paths bug. Reproduce code: --------------- svn_diff('c:\\wc\\file.txt', 32, 'c:\\wc\\file.txt', 33); Assumed that this is a Windows box, c:\\wc is a working copy, and revisions 32 and 33 exist for the file. Expected result: ---------------- Diff works fine, resources are returned Actual result: -------------- Error claiming that the files are not in a working copy.