[commit: packages/Cabal] ghc-head: Make 304 user message more generic. (2887c23)
git at git.haskell.org
git at git.haskell.org
Mon Aug 26 23:25:52 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=2887c2332a15fd02e6894531c3642cf8451b943a
>---------------------------------------------------------------
commit 2887c2332a15fd02e6894531c3642cf8451b943a
Author: Thomas Dziedzic <gostrc at gmail.com>
Date: Wed May 22 03:11:30 2013 +0000
Make 304 user message more generic.
>---------------------------------------------------------------
2887c2332a15fd02e6894531c3642cf8451b943a
cabal-install/Distribution/Client/HttpUtils.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cabal-install/Distribution/Client/HttpUtils.hs b/cabal-install/Distribution/Client/HttpUtils.hs
index b98977b..d9acffd 100644
--- a/cabal-install/Distribution/Client/HttpUtils.hs
+++ b/cabal-install/Distribution/Client/HttpUtils.hs
@@ -129,7 +129,7 @@ downloadURI verbosity uri path = do
(2,0,0) -> do
info verbosity ("Downloaded to " ++ path)
writeFileAtomic path $ rspBody rsp
- (3,0,4) -> notice verbosity "Skipping download: Local and remote repositories match."
+ (3,0,4) -> notice verbosity "Skipping download: Local and remote files match."
(_,_,_) -> return ()
--FIXME: check the content-length header matches the body length.
--TODO: stream the download into the file rather than buffering the whole
More information about the ghc-commits
mailing list