7307-rev-empty.diff

Toshi MARUYAMA, 2011-01-12 11:01

Download (581 Bytes)

View differences:

app/controllers/repositories_controller.rb
139 139
  end
140 140
  
141 141
  def revision
142
    raise ChangesetNotFound if @rev.nil? || @rev.empty?
142 143
    @changeset = @repository.find_changeset_by_name(@rev)
143 144
    raise ChangesetNotFound unless @changeset
144 145