ddio / phpsvnclient

Automatically exported from code.google.com/p/phpsvnclient
0 stars 0 forks source link

bug in storeDirectoryFiles() #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Trying to access http://svn.automattic.com/wordpress/ returns invalid
result, here's the code I used:

<?php
$url = 'http://svn.automattic.com/wordpress/';
require_once('phpsvnclient.php');
$phpsvnclient = new phpsvnclient($url);
$files_now = $phpsvnclient->getDirectoryFiles('/trunk/');

echo "<pre>\n";
print_r($files_now);
echo "</pre>\n";
?>

What is the expected output? What do you see instead?
Expected:
            [type] => directory
            [last-mod] => Tue, 12 Aug 2008 23:19:07 GMT
            [path] => trunk
            [status] => HTTP/1.1 200 OK

What I get:

            [type] => /wordpress/!svn/bc/8632/trunk/
            [last-mod] => Tue, 12 Aug 2008 23:19:07 GMT
            [status] => HTTP/1.1 200 OK

What version of the product are you using? On what operating system?

I'm using the June 23 2008 version

Please provide any additional information below.

Attached is phpsvnclient.php with a fixed storeDirectoryFiles()

Original issue reported on code.google.com by soderl...@gmail.com on 13 Aug 2008 at 12:48

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the fix...
I will commit the changes tomorrow.

Original comment by deadpan...@gmail.com on 17 Aug 2008 at 1:13

GoogleCodeExporter commented 9 years ago
Merged changes

http://code.google.com/p/phpsvnclient/source/diff?r=49&format=side&path=/trunk/p
hpsvnclient.php

Let me know of any problems

Original comment by deadpan...@gmail.com on 18 Aug 2008 at 5:54