diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-11-14 20:36:35 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-11-14 20:36:35 +0000 |
commit | 86b2db69c2c1935ec282ef449a42349e5634a228 (patch) | |
tree | 4a83fa96c5c9b3568ab6dad3dae1d28816dff219 | |
parent | 5ec755581655de76a2ce21fdc9ae5ac502db5f9d (diff) | |
download | mgarepo-86b2db69c2c1935ec282ef449a42349e5634a228.tar mgarepo-86b2db69c2c1935ec282ef449a42349e5634a228.tar.gz mgarepo-86b2db69c2c1935ec282ef449a42349e5634a228.tar.bz2 mgarepo-86b2db69c2c1935ec282ef449a42349e5634a228.tar.xz mgarepo-86b2db69c2c1935ec282ef449a42349e5634a228.zip |
Really fixed generation of unreleased commitstopic/V1_8_X
It was using the previous markrelease revision as reference. The recent
broken fix was using "releasesdata[0]" instead of "releasesdata[-1]" which
is the newest release revision.
-rw-r--r-- | RepSys/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RepSys/log.py b/RepSys/log.py index 0f702c8..2c69693 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -435,9 +435,9 @@ def svn2rpm(pkgdirurl, rev=None, size=None, submit=False, # 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) + # than releasesdata[-1] (in the case it exists) if releasesdata: - latest_revision = releasesdata[0][0] # "relrevision" + latest_revision = releasesdata[-1][0] # the latest copied rev else: latest_revision = 0 notsubmitted = [entry for entry in currentlog |