From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002452.html | 113 +++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002452.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002452.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002452.html b/zarb-ml/mageia-sysadm/2011-January/002452.html new file mode 100644 index 000000000..dde1677bb --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002452.html @@ -0,0 +1,113 @@ + + + + [Mageia-sysadm] [346] svn update sha1.lst file before updating and commiting it + + + + + + + + + +

[Mageia-sysadm] [346] svn update sha1.lst file before updating and commiting it

+ root at mageia.org + root at mageia.org +
+ Tue Jan 25 20:00:38 CET 2011 +

+
+ +
Revision: 346
+Author:   boklm
+Date:     2011-01-25 20:00:38 +0100 (Tue, 25 Jan 2011)
+Log Message:
+-----------
+svn update sha1.lst file before updating and commiting it
+
+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 18:33:00 UTC (rev 345)
++++ build_system/mgarepo/trunk/MgaRepo/binrepo.py	2011-01-25 19:00:38 UTC (rev 346)
+@@ -306,8 +306,9 @@
+     bpath = os.path.basename(path)
+     topdir = getpkgtopdir()
+     bintopdir = translate_topdir(topdir)
++    sources = sources_path(topdir)
++    svn.update(sources)
+     update = update_sources_threaded(topdir, removed=[bpath])
+-    sources = sources_path(topdir)
+     silent = config.get("log", "ignore-string", "SILENT")
+     if not message:
+         message = "%s: delete binary file %s" % (silent, bpath)
+@@ -363,11 +364,16 @@
+     if not message:
+         message = "%s: new binary files %s" % (silent, " ".join(paths))
+     make_symlinks(bindir, sourcesdir)
++    sources = sources_path(topdir)
++    if svn.info2(sources):
++	svn.update(sources)
+     update = update_sources_threaded(topdir, added=paths)
+     rev = svn.commit(binpath, log=message)
+     svn.propset(PROP_BINREPO_REV, str(rev), topdir)
+-    sources = sources_path(topdir)
+-    svn.add(sources)
++    if svn.info2(sources):
++	svn.update(sources)
++    else:
++	svn.add(sources)
+     update.join()
+     svn.commit(topdir + " " + sources, log=message, nonrecursive=True)
+ 
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110125/9262f2c6/attachment-0001.html>
+
+ + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1