aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-17 02:32:20 -0800
committerZac Medico <zmedico@gentoo.org>2011-02-17 02:32:20 -0800
commit734af3a2f4d3e04127d8a467d09b40040dddb72a (patch)
treea81a761235c7cc8fe0ed981286aa3bad1c74d89c /pym/_emerge/actions.py
parentUpdate date headers for modified files. (diff)
downloadportage-734af3a2f4d3e04127d8a467d09b40040dddb72a.tar.gz
portage-734af3a2f4d3e04127d8a467d09b40040dddb72a.tar.bz2
portage-734af3a2f4d3e04127d8a467d09b40040dddb72a.zip
emerge --sync: display message when cvs fails
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 278002b05..79d70baf0 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2400,6 +2400,8 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
retval = portage.process.spawn_bash(
"cd %s; exec cvs -z0 -q update -dP" % \
(portage._shell_quote(myportdir),), **spawn_kwargs)
+ writemsg_level("!!! cvs update error; exiting.\n",
+ noiselevel=-1, level=logging.ERROR)
if retval != os.EX_OK:
sys.exit(retval)
dosyncuri = syncuri