From 3eb52bb2f060fd9a618284be42f11cc810ad59e2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Mar 2008 12:23:28 +0000 Subject: [PATCH] Bug #139023 - When the --digest option is enabled, advise the user that `repoman manifest` is the preferred way to generate manifests. (trunk r9482) svn path=/main/branches/2.1.2/; revision=9561 --- bin/emerge | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bin/emerge b/bin/emerge index c7e528db2..1b28dc760 100755 --- a/bin/emerge +++ b/bin/emerge @@ -6319,6 +6319,18 @@ def action_build(settings, trees, mtimedb, if pretend or fetchonly: # make the mtimedb readonly mtimedb.filename = None + if "--digest" in myopts: + msg = "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 = 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): -- 2.26.2