aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-25 19:07:15 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-25 19:07:15 +0000
commitd2e712d715f809b4862ea7731adb4741c536c24d (patch)
treeebf24c44847a381dc76aa1556591fa566bd6dee7 /MgaRepo
parent0499c1fd60d5fc07cc43d83f14cc739b39b4ff4a (diff)
downloadmgarepo-d2e712d715f809b4862ea7731adb4741c536c24d.tar
mgarepo-d2e712d715f809b4862ea7731adb4741c536c24d.tar.gz
mgarepo-d2e712d715f809b4862ea7731adb4741c536c24d.tar.bz2
mgarepo-d2e712d715f809b4862ea7731adb4741c536c24d.tar.xz
mgarepo-d2e712d715f809b4862ea7731adb4741c536c24d.zip
don't include topdir in svn command when commiting sha1.lst to avoid out of date errors
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/binrepo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 5ae3dd6..e84d862 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -313,7 +313,7 @@ def remove(path, message=None, commit=True):
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 @@ def upload(path, message=None):
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