summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-11 19:12:35 +0100
committerIan Lynagh <igloo@earth.li>2011-06-11 19:12:35 +0100
commitc91698bfe7349a2f6edbb327872848bac6b71c5a (patch)
tree47917068e8fa8a267b2fdf2ee28b513bbdcb9bf8 /sync-all
parent792449f555bb4dfa8e718079f6d42dc9babe938a (diff)
downloadhaskell-c91698bfe7349a2f6edbb327872848bac6b71c5a.tar.gz
Remove upstream repos from the packages file
We no longer pull directly from upstream repos, so it wasn't useful to have it programatically available. The info, and more, is now on http://hackage.haskell.org/trac/ghc/wiki/Commentary/Libraries#Repositorylocations instead.
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all5
1 files changed, 1 insertions, 4 deletions
diff --git a/sync-all b/sync-all
index 8b41c97711..ac06af123a 100755
--- a/sync-all
+++ b/sync-all
@@ -142,13 +142,12 @@ sub parsePackages {
foreach (@repos) {
chomp;
$lineNum++;
- if (/^([^# ]+) +([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)$/) {
+ if (/^([^# ]+) +([^ ]+) +([^ ]+) +([^ ]+)$/) {
my %line;
$line{"localpath"} = $1;
$line{"tag"} = $2;
$line{"remotepath"} = $3;
$line{"vcs"} = $4;
- $line{"upstream"} = $5;
push @packages, \%line;
}
elsif (! /^(#.*)?$/) {
@@ -198,7 +197,6 @@ sub scmall {
my $tag;
my $remotepath;
my $scm;
- my $upstream;
my $line;
my $branch_name;
my $subcommand;
@@ -252,7 +250,6 @@ sub scmall {
$tag = $$line{"tag"};
$remotepath = $$line{"remotepath"};
$scm = $$line{"vcs"};
- $upstream = $$line{"upstream"};
# Check the SCM is OK as early as possible
die "Unknown SCM: $scm" if (($scm ne "darcs") and ($scm ne "git"));