From bbcb7441232303601ccce9a413e104c450477bef Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Tue, 13 Nov 2007 17:14:47 +0000 Subject: Reverted "Fix: unreleased commits are not those newer than the last markrelease" It was r228878. Some changelogs are broken. Revert it while a better fix is investigated. --- RepSys/log.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RepSys/log.py b/RepSys/log.py index 10026c3..b476618 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -425,11 +425,11 @@ def svn2rpm(pkgdirurl, rev=None, size=None, submit=False, releases.append(release) prevrevision = relrevision - # look for commits that have been not submitted (released) yet - # this is done by getting all log entries newer (greater revision no.) - # than releasesdata[0] (in the case it exists) - if releasesdata: - latest_revision = releasesdata[0][0] # "relrevision" + # look for commits that have been not submited (released) yet + # this is done by getting all log entries newer (revision larger) + # than releaseslog[0] (in the case it exists) + if releaseslog: + latest_revision = releaseslog[0].revision else: latest_revision = 0 notsubmitted = [entry for entry in currentlog -- cgit v1.2.1