From 76c799aeabde8d961416255a6f0f95601d1b159c Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 13 Aug 2008 22:01:58 +0000 Subject: [PATCH] Teach darcs-all about absolute repos, and add haddock to packages --- darcs-all | 7 ++++++- packages | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/darcs-all b/darcs-all index 483cd9d..5e78729 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})) { diff --git a/packages b/packages index 870ed30..5c4d978 100644 --- a/packages +++ b/packages @@ -3,6 +3,7 @@ # actually get built . ghc git utils/hsc2hs hsc2hs darcs +utils/haddock http://code.haskell.org/haddock darcs libraries/array packages/array darcs libraries/base packages/base darcs libraries/base3-compat packages/base3-compat darcs -- 1.7.10.4