summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
authorMax Bolingbroke <batterseapower@hotmail.com>2008-08-06 21:02:07 +0000
committerMax Bolingbroke <batterseapower@hotmail.com>2008-08-06 21:02:07 +0000
commit99daef874ab8f0c3b1d1ec1888d6bb6d368a4b79 (patch)
tree396d0ccfd2dbdc1151c7cb96630459ccc28ba5be /darcs-all
parentd1984e439154e95b2804ee83897e740b1713c53d (diff)
downloadhaskell-99daef874ab8f0c3b1d1ec1888d6bb6d368a4b79.tar.gz
Prepare GHC for building with Git
* New packages format lets you select source control system in use * Packages file now includes root repo explicitly * Scripts darcs-all and push-all updated for the new packages format only * New sync-all script, intended for use after Git changeover and for buildbots right now * Had to remove libraries/bootstrapping from tree since Git cannot track empty directories without a hack * Determine checkout date with Git using Darcs fallback in aclocal.m4
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all4
1 files changed, 1 insertions, 3 deletions
diff --git a/darcs-all b/darcs-all
index 0462930a07..0272df55f1 100644
--- a/darcs-all
+++ b/darcs-all
@@ -56,12 +56,10 @@ sub darcsall {
my $path;
my $tag;
- darcs @_;
-
open IN, "< packages" or die "Can't open packages file";
while (<IN>) {
chomp;
- if (/^([^ ]+) +(?:([^ ]+) +)?([^ ]+)/) {
+ if (/^([^# ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) {
$localpath = $1;
$tag = defined($2) ? $2 : "";