Mercurial > treepkg
changeset 400:48aaffdc1a4f treepkg-status
missed in last commit
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Mon, 12 Jul 2010 12:21:39 +0000 (2010-07-12) |
parents | 04310ad0063e |
children | 2db42a2a9db9 |
files | treepkg/info/status.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/treepkg/info/status.py Mon Jul 12 12:10:34 2010 +0000 +++ b/treepkg/info/status.py Mon Jul 12 12:21:39 2010 +0000 @@ -44,10 +44,10 @@ def add_revisions(self, track, trackinfo): revisions = track.get_revisions() - #revisions = sorted(revisions, key=lambda r: r.status.start, - # reverse=True) - #if self.numnewestrev > 0: - # revisions = revisions[:self.numnewestrev] + revisions = sorted(revisions, key=lambda r: r.status.start, + reverse=True) + if self.numnewestrev > 0: + revisions = revisions[:self.numnewestrev] for rev in revisions: revision = rev.revision