Menu

Commit [r4611]  Maximize  Restore  History

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.

tmaruyama 2011-01-02

changed /trunk/app/models/repository/mercurial.rb
changed /trunk/test/fixtures/repositories/mercurial_repository.tar.gz
changed /trunk/test/unit/repository_mercurial_test.rb
/trunk/app/models/repository/mercurial.rb Diff Switch to side-by-side view
Loading...
/trunk/test/unit/repository_mercurial_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.