Patch #7086 ยป subversion_adapter.diff
subversion_adapter.rb (working copy) | ||
---|---|---|
88 | 88 |
commit_date = commit['date'] |
89 | 89 |
# Skip directory if there is no commit date (usually that |
90 | 90 |
# means that we don't have read access to it) |
91 |
next if entry['kind'] == 'dir' && commit_date.nil? |
|
91 |
# next if entry['kind'] == 'dir' && commit_date.nil? |
|
92 |
next if commit_date.nil? |
|
92 | 93 |
name = entry['name']['__content__'] |
93 | 94 |
entries << Entry.new({:name => URI.unescape(name), |
94 | 95 |
:path => ((path.empty? ? "" : "#{path}/") + name), |
... | ... | |
161 | 162 |
revisions << Revision.new({:identifier => logentry['revision'], |
162 | 163 |
:author => (logentry['author'] ? logentry['author']['__content__'] : ""), |
163 | 164 |
:time => Time.parse(logentry['date']['__content__'].to_s).localtime, |
164 |
:message => logentry['msg']['__content__'],
|
|
165 |
:message => (logentry['msg'] ? logentry['msg']['__content__'] : ""),
|
|
165 | 166 |
:paths => paths |
166 | 167 |
}) |
167 | 168 |
end |
168 |
rescue |
|
169 |
rescue Exception => e |
|
170 |
logger.error "ERROR: #{ e.message}" |
|
169 | 171 |
end |
170 | 172 |
end |
171 | 173 |
return nil if $? && $?.exitstatus != 0 |
... | ... | |
226 | 228 |
str = '' |
227 | 229 |
str << " --username #{shell_quote(@login)}" unless @login.blank? |
228 | 230 |
str << " --password #{shell_quote(@password)}" unless @login.blank? || @password.blank? |
229 |
str << " --no-auth-cache --non-interactive" |
|
231 |
str << " --no-auth-cache --non-interactive --trust-server-cert"
|
|
230 | 232 |
str |
231 | 233 |
end |
232 | 234 |
|