1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-12 18:26:19 +02:00
Files
php-htmlpurifier/svn.php
Edward Z. Yang 864cb9e136 - Fix tagging script to work off of php4
- Fix svn.php to not clobber svn extension
- Update NEWS

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/branches/php4@1743 48356398-32a2-884e-a903-53898d9a118a
2008-05-18 20:12:17 +00:00

14 lines
280 B
PHP

<?php
function my_svn_info($dir) {
$raw = explode("\n", shell_exec("svn info $dir"));
$svn_info = array();
foreach ($raw as $r) {
if (empty($r)) continue;
list($k, $v) = explode(': ', $r, 2);
$svn_info[$k] = $v;
}
return $svn_info;
}