Fixed: error when browsing an empty Mercurial repository (#1046).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1343 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -105,7 +105,8 @@ module Redmine
|
||||
line_feeds += 1 if line.chomp.empty?
|
||||
end
|
||||
end
|
||||
revisions << build_revision_from_changeset(changeset)
|
||||
# Add the last changeset if there is one left
|
||||
revisions << build_revision_from_changeset(changeset) if changeset[:date]
|
||||
end
|
||||
return nil if $? && $?.exitstatus != 0
|
||||
revisions
|
||||
|
||||
Reference in New Issue
Block a user