note 114446 added to function.svn-cat
| From: | colm | Date: | Fri, 21 Feb 2014 10:16:22 +0000 |
| Subject: | note 114446 added to function.svn-cat | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198582@lists.php.net to get a copy of this message | ||
Just to add to Adam's comment, when retrieving a file contents I found I got the best results
using the same revision in both places every time; ie. as follows:
<?php
svn_cat ($url.'@'.$revision, $revision);
?>
The one appended to the URL is the peg revision, and the one in the second paramer is the operative
revision.
This seems to cover all the bases.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.svn-cat.php
Edit -- https://master.php.net/note/edit/114446
Del: integrated -- https://master.php.net/note/delete/114446/integrated
Del: useless -- https://master.php.net/note/delete/114446/useless
Del: bad code -- https://master.php.net/note/delete/114446/bad+code
Del: spam -- https://master.php.net/note/delete/114446/spam
Del: non-english -- https://master.php.net/note/delete/114446/non-english
Del: in docs -- https://master.php.net/note/delete/114446/in+docs
Del: other reasons-- https://master.php.net/note/delete/114446
Reject -- https://master.php.net/note/reject/114446
Search -- https://master.php.net/manage/user-notes.php