[commit: packages/Cabal] ghc-head: Add a debug message. (5636f83)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:24:56 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=5636f83c717804a7c8ef80dc7d9d251eafc7eae1

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

commit 5636f83c717804a7c8ef80dc7d9d251eafc7eae1
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Sat May 11 15:11:34 2013 +0200

    Add a debug message.


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

5636f83c717804a7c8ef80dc7d9d251eafc7eae1
 cabal-install/Distribution/Client/Sandbox/Timestamp.hs |    1 +
 1 file changed, 1 insertion(+)

diff --git a/cabal-install/Distribution/Client/Sandbox/Timestamp.hs b/cabal-install/Distribution/Client/Sandbox/Timestamp.hs
index 0e7729c..da6e3bb 100644
--- a/cabal-install/Distribution/Client/Sandbox/Timestamp.hs
+++ b/cabal-install/Distribution/Client/Sandbox/Timestamp.hs
@@ -237,6 +237,7 @@ allPackageSourceFiles verbosity packageDir = inDir (Just packageDir) $ do
 -- | Has this dependency been modified since we have last looked at it?
 isDepModified :: Verbosity -> EpochTime -> AddSourceTimestamp -> IO Bool
 isDepModified verbosity now (packageDir, timestamp) = do
+  debug verbosity ("Checking whether the dependency is modified: " ++ packageDir)
   depSources <- allPackageSourceFiles verbosity packageDir
   go depSources
 





More information about the ghc-commits mailing list