cvs: phd(RESTRUCTURE) / compile.php render.php setup.php /include PhDCommonOptions.class.php
| From: | Gwynne Raskind | Date: | Thu, 10 Jul 2008 16:56:45 +0000 |
| Subject: | cvs: phd(RESTRUCTURE) / compile.php render.php setup.php /include PhDCommonOptions.class.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1858@lists.php.net to get a copy of this message | ||
gwynne Thu Jul 10 16:56:45 2008 UTC
Modified files: (Branch: RESTRUCTURE)
/phd compile.php render.php setup.php
/phd/include PhDCommonOptions.class.php
Log:
My face is red. $ only works in SVN. $ works in both.
http://cvs.php.net/viewvc.cgi/phd/compile.php?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: phd/compile.php
diff -u phd/compile.php:1.1.2.3 phd/compile.php:1.1.2.4
--- phd/compile.php:1.1.2.3 Thu Jul 10 16:51:28 2008
+++ phd/compile.php Thu Jul 10 16:56:45 2008
@@ -1,7 +1,7 @@
#!@php_bin@
<?php
-/* $Id: compile.php,v 1.1.2.3 2008/07/10 16:51:28 gwynne Exp $ */
-$base_revision = '$Rev$';
+/* $Id: compile.php,v 1.1.2.4 2008/07/10 16:56:45 gwynne Exp $ */
+$base_revision = '$Revision: 1.1.2.4 $';
/* {{{ Find the $ROOT directory of PhD. @php_dir@ will be replaced by the PEAR
package manager. If for some reaosn this hasn't happened, fallback to the
http://cvs.php.net/viewvc.cgi/phd/render.php?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: phd/render.php
diff -u phd/render.php:1.1.2.3 phd/render.php:1.1.2.4
--- phd/render.php:1.1.2.3 Thu Jul 10 16:51:28 2008
+++ phd/render.php Thu Jul 10 16:56:45 2008
@@ -1,7 +1,7 @@
#!@php_bin@
<?php
-/* $Id: render.php,v 1.1.2.3 2008/07/10 16:51:28 gwynne Exp $ */
-$base_revision = '$Rev$';
+/* $Id: render.php,v 1.1.2.4 2008/07/10 16:56:45 gwynne Exp $ */
+$base_revision = '$Revision: 1.1.2.4 $';
/* {{{ Find the $ROOT directory of PhD
@php_dir@ will be replaced by the pear package manager
http://cvs.php.net/viewvc.cgi/phd/setup.php?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: phd/setup.php
diff -u phd/setup.php:1.1.2.1 phd/setup.php:1.1.2.2
--- phd/setup.php:1.1.2.1 Thu Jul 10 16:51:28 2008
+++ phd/setup.php Thu Jul 10 16:56:45 2008
@@ -1,7 +1,7 @@
#!@php_bin@
<?php
-/* $Id: setup.php,v 1.1.2.1 2008/07/10 16:51:28 gwynne Exp $ */
-$base_revision = '$Rev$';
+/* $Id: setup.php,v 1.1.2.2 2008/07/10 16:56:45 gwynne Exp $ */
+$base_revision = '$Revision: 1.1.2.2 $';
/* {{{ Find the $ROOT directory of PhD. @php_dir@ will be replaced by the PEAR
package manager. If for some reaosn this hasn't happened, fallback to the
http://cvs.php.net/viewvc.cgi/phd/include/PhDCommonOptions.class.php?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: phd/include/PhDCommonOptions.class.php
diff -u phd/include/PhDCommonOptions.class.php:1.1.2.2
phd/include/PhDCommonOptions.class.php:1.1.2.3
--- phd/include/PhDCommonOptions.class.php:1.1.2.2 Thu Jul 10 12:35:59 2008
+++ phd/include/PhDCommonOptions.class.php Thu Jul 10 16:56:45 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: PhDCommonOptions.class.php,v 1.1.2.2 2008/07/10 12:35:59 gwynne Exp $ */
+/* $Id: PhDCommonOptions.class.php,v 1.1.2.3 2008/07/10 16:56:45 gwynne Exp $ */
abstract class PhDCommonOptionsParser extends PhDOptionParser
{
@@ -82,7 +82,7 @@
{
$color = PhDConfig::phd_info_color();
$output = PhDConfig::phd_info_output();
- $rev = preg_replace('/\$Re[v](: ([\d.]+) ?)?\$$/e', "'\\1' ==
'' ? '??' : '\\2'", $GLOBALS['base_revision']);
+ $rev = preg_replace('/\$Re[v](?:ision)?(: ([\d.]+) ?)?\$$/e',
"'\\1' == '' ? '??' : '\\2'",
$GLOBALS['base_revision']);
fprintf($output, "%s\n", term_color($this->getTitleText(), $color));
fprintf($output, "%s\n", term_color("PhD Version: " . PHD_VERSION .
" (" . $rev . ")", $color));
fprintf($output, "%s\n", term_color("Copyright(c) 2008 The PHP Documentation
Group", $color));