summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-13 22:01:58 +0000
committerIan Lynagh <igloo@earth.li>2008-08-13 22:01:58 +0000
commit76c799aeabde8d961416255a6f0f95601d1b159c (patch)
treee9a85210f05656ac0aee02903b6b929d70a49e3f /darcs-all
parentba6f641e38fa3a0e2b211aeb9474af5ffeb20da4 (diff)
downloadhaskell-76c799aeabde8d961416255a6f0f95601d1b159c.tar.gz
Teach darcs-all about absolute repos, and add haddock to packages
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all7
1 files changed, 6 insertions, 1 deletions
diff --git a/darcs-all b/darcs-all
index 483cd9df8f..5e78729468 100644
--- 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})) {