projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456f5d4
)
Sorted bugs by date before severity sort
author
Aaron Bentley
<abentley@panoramicfeedback.com>
Thu, 7 Apr 2005 18:39:25 +0000
(18:39 +0000)
committer
Aaron Bentley
<abentley@panoramicfeedback.com>
Thu, 7 Apr 2005 18:39:25 +0000
(18:39 +0000)
becommands/list.py
patch
|
blob
|
history
diff --git
a/becommands/list.py
b/becommands/list.py
index 4b0fa1dd235fd59bf5d7eb2df8af304b9357fc43..f602ba321f2037b57be32287032b47c4230c0e77 100644
(file)
--- a/
becommands/list.py
+++ b/
becommands/list.py
@@
-59,6
+59,9
@@
def execute(args):
other_bugs.append(bug)
def list_bugs(cur_bugs, title, no_target=False):
+ def cmp_date(bug1, bug2):
+ return -cmp(bug1.time, bug2.time)
+ cur_bugs.sort(cmp_date)
cur_bugs.sort(bugdir.cmp_severity)
if len(cur_bugs) > 0:
print cmdutil.underlined(title)