[commit: ghc] master: Revert "Add support for external repositories to sync-all" (d0ed42f)

git at git.haskell.org git at git.haskell.org
Fri Aug 23 12:41:50 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d0ed42fa732b38a11280b3740702b9272983340c/ghc

>---------------------------------------------------------------

commit d0ed42fa732b38a11280b3740702b9272983340c
Author: Austin Seipp <aseipp at pobox.com>
Date:   Fri Aug 23 05:16:13 2013 -0500

    Revert "Add support for external repositories to sync-all"
    
    This reverts commit 2e41f2fa91c833a4420ac273254e49468044bc4b.
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>


>---------------------------------------------------------------

d0ed42fa732b38a11280b3740702b9272983340c
 sync-all |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sync-all b/sync-all
index 24b8e73..03e9be7 100755
--- a/sync-all
+++ b/sync-all
@@ -316,10 +316,6 @@ sub gitall {
             }
         }
 
-        # Some extra packages like 'async' may be external URLs,
-        # e.g. git://... or http://...
-        my $is_external_url = $remotepath =~ m/^(git:\/\/|https:\/\/|http:\/\/)/;
-
         open RESUME, "> resume.tmp";
         print RESUME "$localpath\n";
         print RESUME "$doing\n";
@@ -328,12 +324,12 @@ sub gitall {
 
         # We can't create directories on GitHub, so we translate
         # "packages/foo" into "package-foo".
-        if ($is_github_repo && !defined($is_external_url)) {
+        if ($is_github_repo) {
             $remotepath =~ s/\//-/;
         }
 
         # Construct the path for this package in the repo we pulled from
-        $path = $is_external_url ? $remotepath : "$repo_base/$remotepath";
+        $path = "$repo_base/$remotepath";
 
         if ($command eq "get") {
             next if $remotepath eq "-"; # "git submodule init/update" will get this later





More information about the ghc-commits mailing list