diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2011-January/001805.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001805.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/001805.html | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/001805.html b/zarb-ml/mageia-sysadm/2011-January/001805.html new file mode 100644 index 000000000..318be50d9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001805.html @@ -0,0 +1,177 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [256] append '@' to (almost) all svn paths, to avoid svn syntax problems in case of paths containing '@' + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B256%5D%20append%20%27%40%27%20to%20%28almost%29%20all%20svn%20paths%2C%0A%20to%20avoid%20svn%20syntax%20problems%20in%20case%20of%20paths%20containing%20%27%40%27&In-Reply-To=%3C20110109030932.418893FDAA%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="001804.html"> + <LINK REL="Next" HREF="001806.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [256] append '@' to (almost) all svn paths, to avoid svn syntax problems in case of paths containing '@'</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B256%5D%20append%20%27%40%27%20to%20%28almost%29%20all%20svn%20paths%2C%0A%20to%20avoid%20svn%20syntax%20problems%20in%20case%20of%20paths%20containing%20%27%40%27&In-Reply-To=%3C20110109030932.418893FDAA%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [256] append '@' to (almost) all svn paths, to avoid svn syntax problems in case of paths containing '@'">root at mageia.org + </A><BR> + <I>Sun Jan 9 04:09:32 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="001804.html">[Mageia-sysadm] [255] mgarepo version 1.9.4 +</A></li> + <LI>Next message: <A HREF="001806.html">[Mageia-sysadm] [737] disable ecosse temporarily +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1805">[ date ]</a> + <a href="thread.html#1805">[ thread ]</a> + <a href="subject.html#1805">[ subject ]</a> + <a href="author.html#1805">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 256 +Author: boklm +Date: 2011-01-09 04:09:31 +0100 (Sun, 09 Jan 2011) +Log Message: +----------- +append '@' to (almost) all svn paths, to avoid svn syntax problems in case of paths containing '@' + +Modified Paths: +-------------- + build_system/mgarepo/trunk/RepSys/svn.py + +Modified: build_system/mgarepo/trunk/RepSys/svn.py +=================================================================== +--- build_system/mgarepo/trunk/RepSys/svn.py 2011-01-09 02:18:37 UTC (rev 255) ++++ build_system/mgarepo/trunk/RepSys/svn.py 2011-01-09 03:09:31 UTC (rev 256) +@@ -109,24 +109,24 @@ + cmd_args.append("-r '%s'" % ret) + + def add(self, path, **kwargs): +- cmd = ["add", path] ++ cmd = ["add", path + '@'] + return self._execsvn_success(noauth=1, *cmd, **kwargs) + + def copy(self, pathfrom, pathto, **kwargs): +- cmd = ["copy", pathfrom, pathto] ++ cmd = ["copy", pathfrom + '@', pathto + '@'] + self._add_revision(cmd, kwargs, optional=1) + self._add_log(cmd, kwargs) + return self._execsvn_success(*cmd, **kwargs) + + def remove(self, path, force=0, **kwargs): +- cmd = ["remove", path] ++ cmd = ["remove", path + '@'] + self._add_log(cmd, kwargs) + if force: + cmd.append("--force") + return self._execsvn_success(*cmd, **kwargs) + + def mkdir(self, path, **kwargs): +- cmd = ["mkdir", path] ++ cmd = ["mkdir", path + '@'] + if kwargs.get("parents"): + cmd.append("--parents") + self._add_log(cmd, kwargs) +@@ -140,7 +140,7 @@ + return int(rawrev) + + def commit(self, path, **kwargs): +- cmd = ["commit", path] ++ cmd = ["commit", path + '@'] + if kwargs.get("nonrecursive"): + cmd.append("-N") + self._add_log(cmd, kwargs) +@@ -181,7 +181,7 @@ + return self._execsvn_success(local=True, show=True, *cmd, **kwargs) + + def revision(self, path, **kwargs): +- cmd = ["info", path] ++ cmd = ["info", path + '@'] + status, output = self._execsvn(local=True, *cmd, **kwargs) + if status == 0: + for line in output.splitlines(): +@@ -190,7 +190,7 @@ + return None + + def info(self, path, **kwargs): +- cmd = ["info", path] ++ cmd = ["info", path + '@'] + status, output = self._execsvn(local=True, noerror=True, *cmd, **kwargs) + if "Not a versioned resource" not in output: + return output.splitlines() +@@ -205,14 +205,14 @@ + return info + + def ls(self, path, **kwargs): +- cmd = ["ls", path] ++ cmd = ["ls", path + '@'] + status, output = self._execsvn(*cmd, **kwargs) + if status == 0: + return output.split() + return None + + def status(self, path, **kwargs): +- cmd = ["status", path] ++ cmd = ["status", path + '@'] + if kwargs.get("verbose"): + cmd.append("-v") + if kwargs.get("noignore"): +@@ -225,11 +225,11 @@ + return None + + def cleanup(self, path, **kwargs): +- cmd = ["cleanup", path] ++ cmd = ["cleanup", path + '@'] + return self._execsvn_success(*cmd, **kwargs) + + def revert(self, path, **kwargs): +- cmd = ["revert", path] ++ cmd = ["revert", path + '@'] + status, output = self._execsvn(*cmd, **kwargs) + if status == 0: + return [x.split() for x in output.split()] +@@ -249,7 +249,7 @@ + return self._execsvn_success(*cmd, **kwargs) + + def update(self, path, **kwargs): +- cmd = ["update", path] ++ cmd = ["update", path + '@'] + self._add_revision(cmd, kwargs, optional=1) + status, output = self._execsvn(*cmd, **kwargs) + if status == 0: +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20110109/82f2a3ae/attachment.html> +</PRE> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001804.html">[Mageia-sysadm] [255] mgarepo version 1.9.4 +</A></li> + <LI>Next message: <A HREF="001806.html">[Mageia-sysadm] [737] disable ecosse temporarily +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1805">[ date ]</a> + <a href="thread.html#1805">[ thread ]</a> + <a href="subject.html#1805">[ subject ]</a> + <a href="author.html#1805">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |