aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-06-12 18:58:39 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-06-12 18:58:39 +0000
commitae42a1c062d852e928e81c81546caa80fcbf3fa2 (patch)
tree37d73159deb8704bc7692e72c44dc8ce5d7731de
parent84c619563ec69d7ce91e6eaebc1cfc13c1dcdb02 (diff)
downloadmgarepo-ae42a1c062d852e928e81c81546caa80fcbf3fa2.tar
mgarepo-ae42a1c062d852e928e81c81546caa80fcbf3fa2.tar.gz
mgarepo-ae42a1c062d852e928e81c81546caa80fcbf3fa2.tar.bz2
mgarepo-ae42a1c062d852e928e81c81546caa80fcbf3fa2.tar.xz
mgarepo-ae42a1c062d852e928e81c81546caa80fcbf3fa2.zip
Added FIXME to strange putsrpm behavior
-rw-r--r--RepSys/rpmutil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py
index 413c152..671908f 100644
--- a/RepSys/rpmutil.py
+++ b/RepSys/rpmutil.py
@@ -150,6 +150,8 @@ def put_srpm(pkgdirurl, srpmfile, appendname=0, log=""):
version = srpm.version
versionurl = "/".join([pkgdirurl, "releases", version])
releaseurl = "/".join([versionurl, srpm.release])
+ #FIXME when pre-commit hook fails, there's no clear way to know
+ # what happened
ret = svn.mkdir(pkgdirurl, noerror=1, log="Created package directory")
if ret:
svn.checkout(pkgdirurl, tmpdir)