aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-11-13 17:14:47 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-11-13 17:14:47 +0000
commitbbcb7441232303601ccce9a413e104c450477bef (patch)
treec1806dbbfb458aa03a589de8c4c709aaabcbe906 /RepSys
parent0fe6300c34bb791ccfb1050b04fbb9afd162b322 (diff)
downloadmgarepo-bbcb7441232303601ccce9a413e104c450477bef.tar
mgarepo-bbcb7441232303601ccce9a413e104c450477bef.tar.gz
mgarepo-bbcb7441232303601ccce9a413e104c450477bef.tar.bz2
mgarepo-bbcb7441232303601ccce9a413e104c450477bef.tar.xz
mgarepo-bbcb7441232303601ccce9a413e104c450477bef.zip
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.
Diffstat (limited to 'RepSys')
-rw-r--r--RepSys/log.py10
1 files 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