summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-04-19 10:11:59 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-04-19 10:11:59 +0200
commit41f5b7e3e0648302b9c5dc485917a391d21d15a1 (patch)
treeb2e47be200cf4ee0a06aba053cef71c324e01798 /sync-all
parent8bcb2068e496b36d74c655c868cc93be2de45d94 (diff)
downloadhaskell-41f5b7e3e0648302b9c5dc485917a391d21d15a1.tar.gz
Update `sync-all` and `packages` wrt to fold-in
This adapts `sync-all` and `packages` to the recently folded-in Git repositories - `base.git` - `ghc-prim.git` - `integer-gmp.git` - `integer-simple.git` - `template-haskell.git` See #8545 as well as 5f54d67818ee7a74325eed130438beba96510e43 for more details. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all81
1 files changed, 81 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 70c9639d1c..6b875bb19a 100755
--- a/sync-all
+++ b/sync-all
@@ -977,6 +977,87 @@ the ghc Git repository (see #8545 for more details)
EOF
die "detected obsolete testsuite/.git folder"
}
+
+
+ if (-d "libraries/base/.git") {
+ print <<EOF;
+============================
+ATTENTION!
+
+You have a left-over libraries/base/.git folder in your GHC tree!
+
+Please backup or remove it (e.g. "rm -r libraries/base/.git") before
+proceeding as the testsuite Git repository is now tracked as part of
+the ghc Git repository (see #8545 for more details)
+============================
+EOF
+ die "detected obsolete libraries/base/.git folder"
+ }
+
+ if (-d "libraries/ghc-prim/.git") {
+ print <<EOF;
+============================
+ATTENTION!
+
+You have a left-over libraries/ghc-prim/.git folder in your GHC tree!
+
+Please backup or remove it (e.g. "rm -r libraries/ghc-prim/.git") before
+proceeding as the testsuite Git repository is now tracked as part of
+the ghc Git repository (see #8545 for more details)
+============================
+EOF
+ die "detected obsolete libraries/ghc-prim/.git folder"
+ }
+
+
+ if (-d "libraries/template-haskell/.git") {
+ print <<EOF;
+============================
+ATTENTION!
+
+You have a left-over libraries/template-haskell/.git folder in your GHC tree!
+
+Please backup or remove it (e.g. "rm -r libraries/template-haskell/.git") before
+proceeding as the testsuite Git repository is now tracked as part of
+the ghc Git repository (see #8545 for more details)
+============================
+EOF
+ die "detected obsolete libraries/template-haskell/.git folder"
+ }
+
+
+ if (-d "libraries/integer-gmp/.git") {
+ print <<EOF;
+============================
+ATTENTION!
+
+You have a left-over libraries/integer-gmp/.git folder in your GHC tree!
+
+Please backup or remove it (e.g. "rm -r libraries/integer-gmp/.git") before
+proceeding as the testsuite Git repository is now tracked as part of
+the ghc Git repository (see #8545 for more details)
+============================
+EOF
+ die "detected obsolete libraries/integer-gmp/.git folder"
+ }
+
+
+ if (-d "libraries/integer-simple/.git") {
+ print <<EOF;
+============================
+ATTENTION!
+
+You have a left-over libraries/integer-simple/.git folder in your GHC tree!
+
+Please backup or remove it (e.g. "rm -r libraries/integer-simple/.git") before
+proceeding as the testsuite Git repository is now tracked as part of
+the ghc Git repository (see #8545 for more details)
+============================
+EOF
+ die "detected obsolete libraries/integer-simple/.git folder"
+ }
+
+
}
END {