1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-17 22:18:23 +01:00
2008-01-08 01:20:12 +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;
}