projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't overwrite the *OPTS/*Opts variables in mk/validate-settings.mk
[ghc-hetmet.git]
/
push-all
diff --git
a/push-all
b/push-all
index
8e9f9f3
..
ef4dbc8
100644
(file)
--- a/
push-all
+++ b/
push-all
@@
-45,7
+45,7
@@
sub pushall {
@repos = <IN>;
close IN;
@repos = <IN>;
close IN;
- foreach (@repos) {
+ REPO: foreach (@repos) {
chomp;
if (/^([^# ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) {
$localpath = $1;
chomp;
if (/^([^# ]+) +(?:([^ ]+) +)?([^ ]+) +([^ ]+)$/) {
$localpath = $1;
@@
-56,7
+56,13
@@
sub pushall {
$path = "$reporoot/$localpath";
}
else {
$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") {
}
if (-d "$localpath/_darcs") {