Project

General

Profile

Actions

Patch #1546

closed

Associated revisions are displayed in wrong order for Git, Mercurial (SHA-1 DVCSs)

Added by Daniel Luz almost 16 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2008-06-29
Due date:
% Done:

0%

Estimated time:

Description

Associated revisions are currently sorted by revision name, in ascending order. (source:trunk/app/models/issue.rb@1594#L31) However, certain SCMs don't use sequential numeric values (for instance: Git, Mercurial and Monotone use SHA-1 hashes), and the commits appear possibly in the wrong order for them.

This trivial patch tries to order first by the committed_on field, leaving the revision as a secondary sorting column.


Files

order-by-committed_on.patch (768 Bytes) order-by-committed_on.patch Order primarily by the committed_on field Daniel Luz, 2008-06-29 02:50
Actions

Also available in: Atom PDF