aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/binrepo.py
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-17 19:25:49 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-17 19:25:49 +0000
commitbfa821f2fa82b8ad217b3f5637f70282a7ebf8ed (patch)
treec8ea332c904cfabfaf1fa82acbf054aadbfb31a5 /MgaRepo/binrepo.py
parentffd9d21e4df15ca2890402add445d1725f7519ba (diff)
downloadmgarepo-bfa821f2fa82b8ad217b3f5637f70282a7ebf8ed.tar
mgarepo-bfa821f2fa82b8ad217b3f5637f70282a7ebf8ed.tar.gz
mgarepo-bfa821f2fa82b8ad217b3f5637f70282a7ebf8ed.tar.bz2
mgarepo-bfa821f2fa82b8ad217b3f5637f70282a7ebf8ed.tar.xz
mgarepo-bfa821f2fa82b8ad217b3f5637f70282a7ebf8ed.zip
remove binrepo markrelease
Diffstat (limited to 'MgaRepo/binrepo.py')
-rw-r--r--MgaRepo/binrepo.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 0657556..d621f21 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -312,16 +312,3 @@ def mapped_revision(target, revision, wc=False):
binrev = "{%s}" % date
return binrev
-def markrelease(sourceurl, releasesurl, version, release, revision, binrev):
- svn = SVN()
- if not binrev:
- binrev = mapped_revision(sourceurl, revision)
- binsource = translate_url(sourceurl)
- binreleases = translate_url(releasesurl)
- versiondir = mirror._joinurl(binreleases, version)
- dest = mirror._joinurl(versiondir, release)
- svn.mkdir(binreleases, noerror=1, log="created directory for releases")
- svn.mkdir(versiondir, noerror=1, log="created directory for version %s" % version)
- svn.copy(binsource, dest, rev=binrev,
- log="%%markrelease ver=%s rel=%s rev=%s binrev=%s" % (version, release,
- revision, binrev))