0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00
htmlpurifier/svn.php
Edward Z. Yang b3a599e8c2 Add some more release scripts.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1033 48356398-32a2-884e-a903-53898d9a118a
2007-05-05 22:40:51 +00:00

14 lines
279 B
PHP

<?php
function 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;
}
?>