aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-04-24 18:15:43 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-04-24 18:15:43 +0000
commit8c403d422268c1ef1ddfd481e5835c9c071478da (patch)
treea61bfb2e363dc9da075a6888cd342220837e8423 /RepSys
parentc2842fc2cf36e5cc132a431e8449af25b2675584 (diff)
downloadmgarepo-8c403d422268c1ef1ddfd481e5835c9c071478da.tar
mgarepo-8c403d422268c1ef1ddfd481e5835c9c071478da.tar.gz
mgarepo-8c403d422268c1ef1ddfd481e5835c9c071478da.tar.bz2
mgarepo-8c403d422268c1ef1ddfd481e5835c9c071478da.tar.xz
mgarepo-8c403d422268c1ef1ddfd481e5835c9c071478da.zip
Aways use HEAD for changelogs placed in misc/, since they can contain
fixes. Also they are always intended to represent one change *BEFORE* the package import.
Diffstat (limited to 'RepSys')
-rw-r--r--RepSys/log.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/RepSys/log.py b/RepSys/log.py
index 85d502f..c4e2769 100644
--- a/RepSys/log.py
+++ b/RepSys/log.py
@@ -418,7 +418,9 @@ def specfile_svn2rpm(pkgdirurl, specfile, rev=None, size=None,
pkgname = RepSysTree.pkgname(pkgdirurl)
pkgoldurl = os.path.join(oldurl, pkgname)
if svn.ls(pkgoldurl, noerror=1):
- svn.export(pkgoldurl, tmpdir, rev=rev)
+ # we're using HEAD here because fixes in misc/ (oldurl) may
+ # be newer than packages' last changed revision.
+ svn.export(pkgoldurl, tmpdir)
logfile = os.path.join(tmpdir, "log")
if os.path.isfile(logfile):
file = open(logfile)