summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-04 16:45:42 +0100
committerIan Lynagh <igloo@earth.li>2011-04-04 16:45:42 +0100
commitaaafc986f2175958bcadd4af6b3c9889bfc89009 (patch)
treee4fab4179db6f0d917a7729c6ae72f44f8809dcf /sync-all
parent2fe9913d68e5f9031a41aafb08b3eba0b2f7b6ab (diff)
parent3463ec6781e091e584fd216157c3247c3d3d5865 (diff)
downloadhaskell-aaafc986f2175958bcadd4af6b3c9889bfc89009.tar.gz
Merge branch 'master' of http://darcs.haskell.org/ghc
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all5
1 files changed, 5 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 743d3e6573..9b0706eb03 100755
--- a/sync-all
+++ b/sync-all
@@ -299,6 +299,10 @@ sub scmall {
elsif ($command =~ /^set-origin$/) {
@scm_args = ("remote", "set-url", "origin", $path);
}
+ elsif ($command =~ /^set-push$/) {
+ @scm_args = ("remote", "set-url", "--push", "origin", $path);
+ print "foo\n", @scm_args;
+ }
elsif ($command =~ /^fetch$/) {
@scm_args = ("fetch", "origin");
}
@@ -400,6 +404,7 @@ Supported commands:
* fetch
* send
* set-origin
+ * set-push
* new
Available package-tags are: