Teach darcs-all about absolute repos, and add haddock to packages
[ghc-hetmet.git] / darcs-all
index 483cd9d..5e78729 100644 (file)
--- a/darcs-all
+++ b/darcs-all
@@ -114,7 +114,12 @@ sub darcsget {
                 $path = "$defaultrepo_base/$localpath";
             }
             else {
-                $path = "$defaultrepo_base/$remotepath";
+                if ($remotepath =~ /^http:/) {
+                    $path = $remotepath;
+                }
+                else {
+                    $path = "$defaultrepo_base/$remotepath";
+                }
             }
 
             if (($tag eq "") || defined($tags{$tag})) {