Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9076143a0fddaaf36cd0e7251b5441bdeb73247e >--------------------------------------------------------------- commit 9076143a0fddaaf36cd0e7251b5441bdeb73247e Author: Duncan Coutts <[email protected]> Date: Tue Dec 18 00:47:24 2007 +0000 Improve 'cabal info pkg' message when there is nothing to install "All requested packages already installed. Nothing to do." rather than: "These packages would be installed:\n" followed by ... nothing. >--------------------------------------------------------------- cabal-install/Hackage/Info.hs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/cabal-install/Hackage/Info.hs b/cabal-install/Hackage/Info.hs index 50cda30..9e66538 100644 --- a/cabal-install/Hackage/Info.hs +++ b/cabal-install/Hackage/Info.hs @@ -36,6 +36,9 @@ info cfg comp conf deps "The requested packages cannot be installed, because of missing dependencies:\n" ++ showDependencies missing + Right [] -> notice verbosity $ + "All requested packages already installed. Nothing to do." + Right pkgs -> notice verbosity $ "These packages would be installed:\n" ++ unlines [showPackageId (pkgInfoId pkg) | (pkg,_) <- pkgs] _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
