@@ 22-29 (lines=8) @@ | ||
19 | // type defaults to psection |
|
20 | // name defaults to pathname |
|
21 | $svn_type = $fstore->svn_rpropget($svn, $repository, "ar:type", $dirinfo['ar:path'], $revision); |
|
22 | if ($svn_type && !ar_error::isError($svn_type) && $svn_type['property']['text'] != "") { |
|
23 | $svn_type = $svn_type['property']['text']; |
|
24 | //echo "SVN type: [$svn_type]<br>"; |
|
25 | $dirinfo['ar:type'] = $svn_type; |
|
26 | } else { |
|
27 | //echo "SVN type not found, default to psection<br>"; |
|
28 | $dirinfo['ar:type'] = "psection"; |
|
29 | } |
|
30 | $svn_name = $fstore->svn_rpropget($svn, $repository, "ar:name", $dirinfo['ar:path'], $revision); |
|
31 | ||
32 | if ($svn_name && !ar_error::isError($svn_name) && $svn_name['property']['text'] != "") { |
|
@@ 32-36 (lines=5) @@ | ||
29 | } |
|
30 | $svn_name = $fstore->svn_rpropget($svn, $repository, "ar:name", $dirinfo['ar:path'], $revision); |
|
31 | ||
32 | if ($svn_name && !ar_error::isError($svn_name) && $svn_name['property']['text'] != "") { |
|
33 | $dirinfo['ar:name'] = $svn_name['property']['text']; |
|
34 | } else { |
|
35 | $dirinfo['ar:name'] = $dirinfo['ar:path']; |
|
36 | } |
|
37 | ||
38 | echo "<span class='svn_adddirline'>Adding ".$this->path.$dirinfo['ar:path']." (".$dirinfo['ar:type'].")</span>\n"; |
|
39 |