[commit: Cabal] master: Use setupMessage for consistency in downloading message (e528374)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:50:21 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/e5283749404b32829527a79d3dc98e3c24924509
>---------------------------------------------------------------
commit e5283749404b32829527a79d3dc98e3c24924509
Author: Duncan Coutts <duncan at haskell.org>
Date: Wed Feb 13 19:33:46 2008 +0000
Use setupMessage for consistency in downloading message
>---------------------------------------------------------------
cabal-install/Hackage/Fetch.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cabal-install/Hackage/Fetch.hs b/cabal-install/Hackage/Fetch.hs
index d1e0dc9..64950ef 100644
--- a/cabal-install/Hackage/Fetch.hs
+++ b/cabal-install/Hackage/Fetch.hs
@@ -36,7 +36,7 @@ import Hackage.HttpUtils (getHTTP)
import Distribution.Package (showPackageId)
import Distribution.Simple.Compiler (Compiler, PackageDB)
import Distribution.Simple.Program (ProgramConfiguration)
-import Distribution.Simple.Utils (die, notice, debug)
+import Distribution.Simple.Utils (die, notice, debug, setupMessage)
import Distribution.Verbosity (Verbosity)
import Data.Monoid (Monoid(mconcat))
@@ -122,7 +122,7 @@ fetchPackage verbosity pkg
if fetched
then do notice verbosity $ "'" ++ showPackageId (pkgInfoId pkg) ++ "' is cached."
return (packageFile pkg)
- else do notice verbosity $ "Downloading '" ++ showPackageId (pkgInfoId pkg) ++ "'..."
+ else do setupMessage verbosity "Downloading" (pkgInfoId pkg)
downloadPackage verbosity pkg
-- |Fetch a list of packages and their dependencies.
More information about the Cvs-libraries
mailing list