repoman: discard STDERR output from CVS.
authorMichał Górny <mgorny@gentoo.org>
Tue, 30 Aug 2011 10:12:50 +0000 (12:12 +0200)
committerZac Medico <zmedico@gentoo.org>
Tue, 30 Aug 2011 16:25:54 +0000 (09:25 -0700)
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=373669

pym/repoman/utilities.py

index 232739ea012de623acf4d6bfe7cdfd174b144f14..380f8edb52ec0d1549ffba881f104271da25b852 100644 (file)
@@ -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':