summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
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})) {