Patch #1370 ยป subversion_skip_unreadable_dirs.patch
lib/redmine/scm/adapters/subversion_adapter.rb (copia de trabajo) | ||
---|---|---|
64 | 64 |
begin |
65 | 65 |
doc = REXML::Document.new(output) |
66 | 66 |
doc.elements.each("lists/list/entry") do |entry| |
67 |
# Skip directory if there is no commit date (usually that |
|
68 |
# means that we don't have read access to it) |
|
69 |
next if entry.attributes['kind'] == 'dir' && entry.elements['commit'].elements['date'].nil? |
|
67 | 70 |
entries << Entry.new({:name => entry.elements['name'].text, |
68 | 71 |
:path => ((path.empty? ? "" : "#{path}/") + entry.elements['name'].text), |
69 | 72 |
:kind => entry.attributes['kind'], |