diff options
author | Ian Lynagh <igloo@earth.li> | 2009-10-06 20:33:42 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-10-06 20:33:42 +0000 |
commit | f7571f78feb1a3a735f77a66d556bb8e6c61d3e1 (patch) | |
tree | dd583f57b397c51ae4b1f2b180c58118e35e9c95 /darcs-all | |
parent | 49fb21e21496611dc2ccfd311e2b64fc4eb93023 (diff) | |
download | haskell-f7571f78feb1a3a735f77a66d556bb8e6c61d3e1.tar.gz |
Add a test in darcs-all for old bytestring repositories
Diffstat (limited to 'darcs-all')
-rw-r--r-- | darcs-all | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -279,5 +279,23 @@ sub main { } } +END { + message "== Checking for old bytestring repo"; + if (-d "libraries/bytestring/_darcs") { + if ((system "darcs annotate --repodir libraries/bytestring --match 'hash 20080118173113-3fd76-d5b74c04372a297b585ebea4e16d524551ce5035' > /dev/null 2> /dev/null") == 0) { + print <<EOF; +============================ +ATTENTION! + +You have an old bytestring repository in your GHC tree! + +Please remove it (e.g. "rm -r libraries/bytestring"), and the new +version of bytestring will be used from a tarball instead. +============================ +EOF + } + } +} + main(@ARGV); |