Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9561 - main/branches/2.1.2/bin
Date: Fri, 28 Mar 2008 12:23:31
Message-Id: E1JfDcH-00079V-C8@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-28 12:23:28 +0000 (Fri, 28 Mar 2008)
3 New Revision: 9561
4
5 Modified:
6 main/branches/2.1.2/bin/emerge
7 Log:
8 Bug #139023 - When the --digest option is enabled, advise the user that
9 `repoman manifest` is the preferred way to generate manifests.
10 (trunk r9482)
11
12
13 Modified: main/branches/2.1.2/bin/emerge
14 ===================================================================
15 --- main/branches/2.1.2/bin/emerge 2008-03-28 12:20:03 UTC (rev 9560)
16 +++ main/branches/2.1.2/bin/emerge 2008-03-28 12:23:28 UTC (rev 9561)
17 @@ -6319,6 +6319,18 @@
18 if pretend or fetchonly:
19 # make the mtimedb readonly
20 mtimedb.filename = None
21 + if "--digest" in myopts:
22 + msg = "The --digest option can prevent corruption from being" + \
23 + " noticed. The `repoman manifest` command is the preferred" + \
24 + " way to generate manifests and it is capable of doing an" + \
25 + " entire repository or category at once."
26 + prefix = bad(" * ")
27 + writemsg(prefix + "\n")
28 + from textwrap import wrap
29 + for line in wrap(msg, 72):
30 + writemsg("%s%s\n" % (prefix, line))
31 + writemsg(prefix + "\n")
32 +
33 if "--quiet" not in myopts and \
34 ("--pretend" in myopts or "--ask" in myopts or \
35 "--tree" in myopts or "--verbose" in myopts):
36
37 --
38 gentoo-commits@l.g.o mailing list