Menu

Commit [r8938]  Maximize  Restore  History

scm: mercurial: use to_s for revision in find_changeset_by_name method

On Rails 3.0.11, functional test fails.

<pre>
Error: test_diff_two_revs(RepositoriesMercurialControllerTest)
NoMethodError: undefined method `empty?' for 4:Fixnum
app/models/repository/mercurial.rb:76:in `find_changeset_by_name'
</pre>

tmaruyama 2012-02-23

changed /trunk/app/models/repository/mercurial.rb
/trunk/app/models/repository/mercurial.rb Diff Switch to side-by-side view
Loading...