Merge branch 'master' of http://darcs.haskell.org/ghc
[ghc-hetmet.git] / sync-all
index 743d3e6..9b0706e 100755 (executable)
--- 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-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");
             }
             elsif ($command =~ /^fetch$/) {
                 @scm_args = ("fetch", "origin");
             }
@@ -400,6 +404,7 @@ Supported commands:
  * fetch
  * send
  * set-origin
  * fetch
  * send
  * set-origin
+ * set-push
  * new
 
 Available package-tags are:
  * new
 
 Available package-tags are: