Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/43528c20fd6de28a3036c798311fa88920bdb01a

>---------------------------------------------------------------

commit 43528c20fd6de28a3036c798311fa88920bdb01a
Author: Duncan Coutts <[email protected]>
Date:   Mon Feb 9 20:12:28 2009 +0000

    Don't report that packages are cached at the default verbosity level
    It's just not that useful. Report it at -v verobisty level, and
    change the text and formatting.

>---------------------------------------------------------------

 cabal-install/Distribution/Client/Fetch.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cabal-install/Distribution/Client/Fetch.hs 
b/cabal-install/Distribution/Client/Fetch.hs
index fb140f2..872cbe3 100644
--- a/cabal-install/Distribution/Client/Fetch.hs
+++ b/cabal-install/Distribution/Client/Fetch.hs
@@ -141,7 +141,7 @@ fetchPackage :: Verbosity -> Repo -> PackageIdentifier -> 
IO String
 fetchPackage verbosity repo pkgid = do
   fetched <- doesFileExist (packageFile repo pkgid)
   if fetched
-    then do notice verbosity $ "'" ++ display pkgid ++ "' is cached."
+    then do info verbosity $ display pkgid ++ " has already been downloaded."
             return (packageFile repo pkgid)
     else do setupMessage verbosity "Downloading" pkgid
             downloadPackage verbosity repo pkgid



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to