aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/mirror.py
diff options
context:
space:
mode:
authorMageia SVN-Git Migration <svn-git-migration@mageia.org>2011-01-04 16:09:44 +0000
committerMageia SVN-Git Migration <svn-git-migration@mageia.org>2011-01-04 16:09:44 +0000
commit846c9e0ef180aa5411803eb1906896dc5e2fc5b9 (patch)
treef82d50447e2f648e76d051cb20ca4c44b1dde8a8 /RepSys/mirror.py
parent085ad0c1554260fe8f87955ed1ba74e06413f416 (diff)
downloadmgarepo-846c9e0ef180aa5411803eb1906896dc5e2fc5b9.tar
mgarepo-846c9e0ef180aa5411803eb1906896dc5e2fc5b9.tar.gz
mgarepo-846c9e0ef180aa5411803eb1906896dc5e2fc5b9.tar.bz2
mgarepo-846c9e0ef180aa5411803eb1906896dc5e2fc5b9.tar.xz
mgarepo-846c9e0ef180aa5411803eb1906896dc5e2fc5b9.zip
Synthesized commit during git-svn import combining previous Mandriva history with Magiea.
This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r202 | boklm | 2011-01-04 16:09:44 +0000 (Tue, 04 Jan 2011) | 1 line add repsys ------------------------------------------------------------------------
Diffstat (limited to 'RepSys/mirror.py')
-rwxr-xr-x[-rw-r--r--]RepSys/mirror.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/RepSys/mirror.py b/RepSys/mirror.py
index f0d2316..94720cc 100644..100755
--- a/RepSys/mirror.py
+++ b/RepSys/mirror.py
@@ -66,9 +66,12 @@ def using_on(url):
using = False
return using
-def info(url, stream=sys.stderr):
+def info(url, write=False, stream=sys.stderr):
if using_on(url):
- stream.write("using mirror\n")
+ stream.write("Using the svn mirror.\n")
+ if write:
+ stream.write("To be able to commit changes, use "
+ "'repsys switch' first.\n")
def mirror_relocate(oldparent, newparent, url, wcpath):
svn = SVN()