Prepare GHC for building with Git
[ghc-hetmet.git] / push-all
index 545cbe2..ed825fc 100644 (file)
--- 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 (<IN>) {
         chomp;
-        if (/^([^ ]+) +(?:([^ ]+) +)?([^ ]+)/) {
+        if (/^([^# ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) {
             $localpath = $1;
             $tag = defined($2) ? $2 : "";
             $remotepath = $3;