repo.or.cz
/
htmlpurifier
/
darkodev.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix missing version number in config directive, and add TODO item.
[htmlpurifier/darkodev.git]
/
svn.php
blob
cdfc586c4a686a29e37d9267604f8ce5276f2eea
1
<
?php
2
3
function
my_svn_info
(
$dir
) {
4
$raw
=
explode
(
"
\n
"
,
shell_exec
(
"svn info
$dir
"
));
5
$svn_info
=
array
();
6
foreach
(
$raw
as
$r
) {
7
if
(
empty
(
$r
))
continue
;
8
list
(
$k
,
$v
) =
explode
(
': '
,
$r
,
2
);
9
$svn_info
[
$k
] =
$v
;
10
}
11
return
$svn_info
;
12
}
13