summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorDaniel Fischer <daniel.is.fischer@googlemail.com>2011-09-07 19:52:00 +0200
committerDaniel Fischer <daniel.is.fischer@googlemail.com>2011-09-07 19:52:00 +0200
commitdf05656b54ebacc5bad555260b7dab78cf7c7814 (patch)
tree5958c6fb99f73dd4d916820b7f0d2cb590edaf6d /sync-all
parent69cf252af1b4a923128089cd43767e17ef6402de (diff)
downloadhaskell-df05656b54ebacc5bad555260b7dab78cf7c7814.tar.gz
Whitespace only
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all14
1 files changed, 7 insertions, 7 deletions
diff --git a/sync-all b/sync-all
index b6505e4644..cfe7fbe1eb 100755
--- a/sync-all
+++ b/sync-all
@@ -59,7 +59,7 @@ sub getrepo {
# http://darcs.haskell.org
#
# rather than
- #
+ #
# http://darcs.haskell.org/ghc
#
if (!$defaultrepo) {
@@ -153,7 +153,7 @@ sub scm {
sub scmall {
my $command = shift;
-
+
my $localpath;
my $tag;
my $remotepath;
@@ -271,7 +271,7 @@ sub scmall {
if ($tags{$tag} == 0) {
next;
}
-
+
if (-d $localpath) {
warning("$localpath already present; omitting")
if $localpath ne ".";
@@ -526,16 +526,16 @@ any extra arguments to git:
------------ Which repos to use -------------
sync-all uses the following algorithm to decide which remote repos to use
-
+
It always computes the remote repos from a single base, <repo_base>
How is <repo_base> set?
If you say "-r repo", then that's <repo_base>
otherwise <repo_base> is set by asking git where the ghc repo came
from, and removing the last component (e.g. /ghc.git/ or /ghc/).
-
+
Then sync-all iterates over the package found in the file
./packages; see that file for a description of the contents.
-
+
If <repo_base> looks like a local filesystem path, or if you give
the --checked-out flag, sync-all works on repos of form
<repo_base>/<local-path>
@@ -570,7 +570,7 @@ END
}
}
close IN;
-
+
# Show those tags and the help text
my @available_tags = keys %available_tags;
print "$help@available_tags\n\n";