projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove warning flags from individual compiler modules
[ghc-hetmet.git]
/
push-all
diff --git
a/push-all
b/push-all
index
a5c2062
..
e486923
100644
(file)
--- a/
push-all
+++ b/
push-all
@@
-13,6
+13,8
@@
my $ignore_failure = 0;
my $checked_out = 0;
# --core-only says we only want to push corelibs, not extralibs
my $core_only = 0;
my $checked_out = 0;
# --core-only says we only want to push corelibs, not extralibs
my $core_only = 0;
+# --push or --pull?
+my $push_pull = "push";
sub message {
if ($verbose) {
sub message {
if ($verbose) {
@@
-32,7
+34,7
@@
sub darcs {
}
sub darcs_push {
}
sub darcs_push {
- darcs ("push", "--no-set-default", @_);
+ darcs ($push_pull, "--no-set-default", @_);
}
sub pushall {
}
sub pushall {
@@
-84,6
+86,12
@@
sub main {
elsif ($arg eq "--core-only") {
$core_only = 1;
}
elsif ($arg eq "--core-only") {
$core_only = 1;
}
+ elsif ($arg eq "--push") {
+ $push_pull = "push";
+ }
+ elsif ($arg eq "--pull") {
+ $push_pull = "pull";
+ }
else {
$reporoot = $arg;
if (grep /^-q$/, @_) {
else {
$reporoot = $arg;
if (grep /^-q$/, @_) {