repo.or.cz
/
htmlpurifier
/
rdancer.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Simplify generate.php variable naming and comments.
[htmlpurifier/rdancer.git]
/
svn.php
blob
db588754b4d6595849b2192d488fd2830ecbf5e0
1
<
?php
2
3
function
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
14
?
>