]> source.dussan.org Git - redmine.git/commit
Fixed: repository: mercurial: sort changesets by revision (#3449, #3567).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 2 Jan 2011 06:05:54 +0000 (06:05 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 2 Jan 2011 06:05:54 +0000 (06:05 +0000)
commit2ae2d3ef834c4d17b1c7a4e09f299b537f91d3cc
treebe5fb6d7d07e01e3df20e0430eaf3edcc9b5f8dd
parentd29052f682cc1583888fe13095d0af0e2fc81a0f
Fixed: repository: mercurial: sort changesets by revision (#3449, #3567).

In DVCS, changesets are not in date order.
Because Mercurial backend inserts changesets from eariest, 'ORDER BY id'
means 'order by revision number'.

Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4611 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/repository/mercurial.rb
test/fixtures/repositories/mercurial_repository.tar.gz
test/unit/repository_mercurial_test.rb