Commit f7571f78 authored by Ian Lynagh's avatar Ian Lynagh

Add a test in darcs-all for old bytestring repositories

parent 49fb21e2
......@@ -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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment