cvs: phpdoc /scripts diff_en_rev.php
| From: | Jakub Vrana | Date: | Wed, 10 Dec 2003 14:04:54 +0000 |
| Subject: | cvs: phpdoc /scripts diff_en_rev.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969357302@lists.php.net to get a copy of this message | ||
vrana Wed Dec 10 09:04:54 2003 EDT
Modified files:
/phpdoc/scripts diff_en_rev.php
Log:
$Revision is CVS keyword...
Index: phpdoc/scripts/diff_en_rev.php
diff -u phpdoc/scripts/diff_en_rev.php:1.2 phpdoc/scripts/diff_en_rev.php:1.3
--- phpdoc/scripts/diff_en_rev.php:1.2 Wed Dec 10 07:27:00 2003
+++ phpdoc/scripts/diff_en_rev.php Wed Dec 10 09:04:54 2003
@@ -57,7 +57,7 @@
$revision = $regs[2];
// compare with local version
- $same_revision = (file_exists($en_filename) && eregi('<!-- \\$Revision: 1.2
$en_filename), $regs) && $regs[1] == $revision);
+ $same_revision = (file_exists($en_filename) && eregi('<!--
*\\$'.'Revision: +([0-9.])', head($en_filename), $regs) && $regs[1] ==
$revision); // '.' due to storing to CVS repository
if (is_dir($filename)) {
// for directories just print the list of modified files
if (!$same_revision) {