From 41f12443efdab544ace9f2c90df516360ebf9df1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 30 Aug 2011 12:12:50 +0200 Subject: [PATCH] repoman: discard STDERR output from CVS. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=373669 --- pym/repoman/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py index 232739ea0..380f8edb5 100644 --- a/pym/repoman/utilities.py +++ b/pym/repoman/utilities.py @@ -60,7 +60,7 @@ def detect_vcs_conflicts(options, vcs): if vcs == 'cvs': logging.info("Performing a " + output.green("cvs -n up") + \ " with a little magic grep to check for updates.") - retval = subprocess_getstatusoutput("cvs -n up 2>&1 | " + \ + retval = subprocess_getstatusoutput("cvs -n up 2>/dev/null | " + \ "egrep '^[^\?] .*' | " + \ "egrep -v '^. .*/digest-[^/]+|^cvs server: .* -- ignored$'") if vcs == 'svn': -- 2.26.2