Skip to content
Snippets Groups Projects
Commit ad02b3fb authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

fixed in svn browser: revisions were ignored when no author was found

git-svn-id: http://redmine.rubyforge.org/svn/trunk@109 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d3600e72
Branches
Tags
No related merge requests found
......@@ -58,7 +58,7 @@ module SvnRepos
:lastrev => Revision.new({
:identifier => entry.elements['commit'].attributes['revision'],
:time => Time.parse(entry.elements['commit'].elements['date'].text),
:author => entry.elements['commit'].elements['author'].text
:author => (entry.elements['commit'].elements['author'] ? entry.elements['commit'].elements['author'].text : "anonymous")
})
})
end
......@@ -92,7 +92,7 @@ module SvnRepos
paths.sort! { |x,y| x[:path] <=> y[:path] }
revisions << Revision.new({:identifier => logentry.attributes['revision'],
:author => logentry.elements['author'].text,
:author => (logentry.elements['author'] ? logentry.elements['author'].text : "anonymous"),
:time => Time.parse(logentry.elements['date'].text),
:message => logentry.elements['msg'].text,
:paths => paths
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment