X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=push-all;fp=push-all;h=ed825fc3bb9bf94ef4089125227e0f5a32d40a3e;hp=545cbe216a7bc120653205fbcf82c46b0db53d57;hb=99daef874ab8f0c3b1d1ec1888d6bb6d368a4b79;hpb=d1984e439154e95b2804ee83897e740b1713c53d diff --git a/push-all b/push-all index 545cbe2..ed825fc 100644 --- a/push-all +++ b/push-all @@ -39,13 +39,11 @@ sub pushall { my $remotepath; my $path; my $tag; - my $ghcrepo = $checked_out ? $reporoot : "$reporoot/ghc"; - darcs_push ($ghcrepo, @_); - + open IN, "< packages" or die "Can't open packages file"; while () { chomp; - if (/^([^ ]+) +(?:([^ ]+) +)?([^ ]+)/) { + if (/^([^# ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) { $localpath = $1; $tag = defined($2) ? $2 : ""; $remotepath = $3;