diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-13 22:01:58 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-13 22:01:58 +0000 |
commit | 76c799aeabde8d961416255a6f0f95601d1b159c (patch) | |
tree | e9a85210f05656ac0aee02903b6b929d70a49e3f /darcs-all | |
parent | ba6f641e38fa3a0e2b211aeb9474af5ffeb20da4 (diff) | |
download | haskell-76c799aeabde8d961416255a6f0f95601d1b159c.tar.gz |
Teach darcs-all about absolute repos, and add haddock to packages
Diffstat (limited to 'darcs-all')
-rw-r--r-- | darcs-all | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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})) { |