[Mageia-sysadm] [347] don't include topdir in svn command when commiting sha1. lst to avoid out of date errors
root at mageia.org
root at mageia.org
Tue Jan 25 20:07:15 CET 2011
Revision: 347
Author: boklm
Date: 2011-01-25 20:07:15 +0100 (Tue, 25 Jan 2011)
Log Message:
-----------
don't include topdir in svn command when commiting sha1.lst to avoid out of date errors
Modified Paths:
--------------
build_system/mgarepo/trunk/MgaRepo/binrepo.py
Modified: build_system/mgarepo/trunk/MgaRepo/binrepo.py
===================================================================
--- build_system/mgarepo/trunk/MgaRepo/binrepo.py 2011-01-25 19:00:38 UTC (rev 346)
+++ build_system/mgarepo/trunk/MgaRepo/binrepo.py 2011-01-25 19:07:15 UTC (rev 347)
@@ -313,7 +313,7 @@
if not message:
message = "%s: delete binary file %s" % (silent, bpath)
if commit:
- svn.commit(topdir + " " + sources, log=message, nonrecursive=True)
+ svn.commit(sources, log=message, nonrecursive=True)
binlink = os.path.join(topdir, "SOURCES", bpath)
if os.path.islink(binlink):
os.unlink(binlink)
@@ -375,7 +375,7 @@
else:
svn.add(sources)
update.join()
- svn.commit(topdir + " " + sources, log=message, nonrecursive=True)
+ svn.commit(sources, log=message, nonrecursive=True)
def mapped_revision(target, revision, wc=False):
"""Maps a txtrepo revision to a binrepo datespec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110125/b811ef5e/attachment.html>
More information about the Mageia-sysadm
mailing list