[commit: Cabal] master: Fix default verbosity (9313446)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:44:07 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9313446435f7265e402d5c1214f3ec8854aad938
>---------------------------------------------------------------
commit 9313446435f7265e402d5c1214f3ec8854aad938
Author: Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
Date: Thu May 3 16:20:33 2007 +0000
Fix default verbosity
>---------------------------------------------------------------
.../src/Network/Hackage/CabalInstall/Configure.hs | 2 +-
.../src/Network/Hackage/CabalInstall/Setup.hs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cabal-install/src/Network/Hackage/CabalInstall/Configure.hs b/cabal-install/src/Network/Hackage/CabalInstall/Configure.hs
index e00ac66..237f347 100644
--- a/cabal-install/src/Network/Hackage/CabalInstall/Configure.hs
+++ b/cabal-install/src/Network/Hackage/CabalInstall/Configure.hs
@@ -134,7 +134,7 @@ mkConfigFlags cfg
pkgListDir <- if userIns
then maybe localPkgListDir return (tempPkgListDir cfg)
else return $ fromMaybe defaultPkgListDir (tempPkgListDir cfg)
- when (tempVerbose cfg > 0) $ do printf "Using config dir: %s\n" confDir
+ when (tempVerbose cfg > 1) $ do printf "Using config dir: %s\n" confDir
printf "Using cache dir: %s\n" cacheDir
printf "Using pkglist dir: %s\n" pkgListDir
outputGen <- defaultOutputGen (tempVerbose cfg)
diff --git a/cabal-install/src/Network/Hackage/CabalInstall/Setup.hs b/cabal-install/src/Network/Hackage/CabalInstall/Setup.hs
index 57b5e14..981a347 100644
--- a/cabal-install/src/Network/Hackage/CabalInstall/Setup.hs
+++ b/cabal-install/src/Network/Hackage/CabalInstall/Setup.hs
@@ -42,7 +42,7 @@ emptyTempFlags = TempFlags {
tempServers = [],
tempRunHc = Nothing,
tempTarPath = Nothing,
- tempVerbose = 3,
+ tempVerbose = 1,
-- tempUpgradeDeps = False,
tempUserIns = False,
tempHelp = False
More information about the Cvs-libraries
mailing list