From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JblTb-0002nn-Q2 for garchives@archives.gentoo.org; Tue, 18 Mar 2008 23:44:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3453E06BE; Tue, 18 Mar 2008 23:44:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B7EDDE06BE for ; Tue, 18 Mar 2008 23:44:14 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 5B7306672C for ; Tue, 18 Mar 2008 23:44:14 +0000 (UTC) Received: from zmedico by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JblTZ-0000fY-7a for gentoo-commits@lists.gentoo.org; Tue, 18 Mar 2008 23:44:13 +0000 To: gentoo-commits@lists.gentoo.org From: "Zac Medico (zmedico)" Subject: [gentoo-commits] portage r9482 - main/trunk/pym/_emerge X-VCS-Repository: portage X-VCS-Revision: 9482 X-VCS-Files: main/trunk/pym/_emerge/__init__.py X-VCS-Directories: main/trunk/pym/_emerge X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico Content-Type: text/plain; charset=UTF-8 Message-Id: Sender: Zac Medico Date: Tue, 18 Mar 2008 23:44:13 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 34ada69e-0453-4c3b-b06c-419ac2546196 X-Archives-Hash: c03a5f635101becfcf450ba63616d53f Author: zmedico Date: 2008-03-18 23:44:12 +0000 (Tue, 18 Mar 2008) New Revision: 9482 Modified: main/trunk/pym/_emerge/__init__.py Log: Bug #139023 - When the --digest option is enabled, advise the user that `repoman manifest` is the preferred way to generate manifests. Modified: main/trunk/pym/_emerge/__init__.py =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- main/trunk/pym/_emerge/__init__.py 2008-03-18 23:41:52 UTC (rev 9481) +++ main/trunk/pym/_emerge/__init__.py 2008-03-18 23:44:12 UTC (rev 9482) @@ -6790,6 +6790,18 @@ if pretend or fetchonly: # make the mtimedb readonly mtimedb.filename =3D None + if "--digest" in myopts: + msg =3D "The --digest option can prevent corruption from being" + \ + " noticed. The `repoman manifest` command is the preferred" + \ + " way to generate manifests and it is capable of doing an" + \ + " entire repository or category at once." + prefix =3D bad(" * ") + writemsg(prefix + "\n") + from textwrap import wrap + for line in wrap(msg, 72): + writemsg("%s%s\n" % (prefix, line)) + writemsg(prefix + "\n") + if "--quiet" not in myopts and \ ("--pretend" in myopts or "--ask" in myopts or \ "--tree" in myopts or "--verbose" in myopts): --=20 gentoo-commits@lists.gentoo.org mailing list