X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=darcs-all;h=6c8b406cf3816d9cec4e254233f5063fc8b54205;hb=b9d13108742ba43244490e0a90b6c80127561139;hp=0272df55f1746aea8b585afd888b4c8d2e50b4db;hpb=99daef874ab8f0c3b1d1ec1888d6bb6d368a4b79;p=ghc-hetmet.git diff --git a/darcs-all b/darcs-all index 0272df5..6c8b406 100644 --- a/darcs-all +++ b/darcs-all @@ -98,7 +98,7 @@ sub darcsget { open IN, "< packages" or die "Can't open packages file"; while () { chomp; - if (/^([^ ]+) +(?:([^ ]+) +)?([^ ]+)/) { + if (/^([^ ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) { $localpath = $1; $tag = defined($2) ? $2 : ""; $remotepath = $3; @@ -119,7 +119,7 @@ sub darcsget { } } } - elsif (! /^$/) { + elsif (! /^(#.*)?$/) { die "Bad line: $_"; } }