summaryrefslogtreecommitdiff
path: root/push-all
diff options
context:
space:
mode:
Diffstat (limited to 'push-all')
-rw-r--r--push-all10
1 files changed, 8 insertions, 2 deletions
diff --git a/push-all b/push-all
index 8e9f9f314b..ef4dbc8d53 100644
--- a/push-all
+++ b/push-all
@@ -45,7 +45,7 @@ sub pushall {
@repos = <IN>;
close IN;
- foreach (@repos) {
+ REPO: foreach (@repos) {
chomp;
if (/^([^# ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) {
$localpath = $1;
@@ -56,7 +56,13 @@ sub pushall {
$path = "$reporoot/$localpath";
}
else {
- $path = "$reporoot/$remotepath";
+ if ($remotepath =~ /^http:/) {
+ message "Ignoring $localpath; remote is http URL";
+ next REPO;
+ }
+ else {
+ $path = "$reporoot/$remotepath";
+ }
}
if (-d "$localpath/_darcs") {