[commit: Cabal] master: Improve the cabal update notice (6a628b3)
Ian Lynagh
igloo at earth.li
Fri Jun 24 02:02:38 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/6a628b395a1b0192a9959ca8f97ae4ccf97e1c8c
>---------------------------------------------------------------
commit 6a628b395a1b0192a9959ca8f97ae4ccf97e1c8c
Author: Duncan Coutts <duncan at haskell.org>
Date: Mon Feb 9 21:18:44 2009 +0000
Improve the cabal update notice
>---------------------------------------------------------------
cabal-install/Distribution/Client/Update.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cabal-install/Distribution/Client/Update.hs b/cabal-install/Distribution/Client/Update.hs
index 601927c..77143e1 100644
--- a/cabal-install/Distribution/Client/Update.hs
+++ b/cabal-install/Distribution/Client/Update.hs
@@ -48,8 +48,8 @@ updateRepo :: Verbosity -> Repo -> IO ()
updateRepo verbosity repo = case repoKind repo of
Right LocalRepo -> return ()
Left remoteRepo -> do
- notice verbosity $ "Downloading package list from server '"
- ++ show (remoteRepoURI remoteRepo) ++ "'"
+ notice verbosity $ "Downloading the latest package list from "
+ ++ remoteRepoName remoteRepo
indexPath <- downloadIndex verbosity remoteRepo (repoLocalDir repo)
BS.writeFileAtomic (dropExtension indexPath) . GZip.decompress
=<< BS.readFile indexPath
More information about the Cvs-libraries
mailing list