Follow Digraph changes in VectType
[ghc-hetmet.git] / darcs-all
index d53ed36..0272df5 100644 (file)
--- 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 : "";
 
@@ -75,7 +73,7 @@ sub darcsall {
                 message "== $localpath repo not present; skipping";
             }
         }
-        elsif (! /^$/) {
+        elsif (! /^(#.*)?$/) {
             die "Bad line: $_";
         }
     }