Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2d8b3172b1997bbd94130576134dac7b200cc963

>---------------------------------------------------------------

commit 2d8b3172b1997bbd94130576134dac7b200cc963
Author: Ian Lynagh <[email protected]>
Date:   Tue Apr 5 17:26:20 2011 +0100

    Add "commit" to the list of commands sync-all supports

>---------------------------------------------------------------

 sync-all |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sync-all b/sync-all
index d20f4e7..f7caca5 100755
--- a/sync-all
+++ b/sync-all
@@ -296,6 +296,11 @@ sub scmall {
                 # Hack around 'darcs whatsnew' failing if there are no changes
                 $ignore_failure = 1;
             }
+            elsif ($command =~ /^commit$/) {
+                @scm_args = ("commit");
+                # git fails if there is nothing to commit, so ignore failures
+                $ignore_failure = 1;
+            }
             elsif ($command =~ /^(?:pus|push)$/) {
                 @scm_args = "push";
                 $want_remote_repo = 1;
@@ -399,6 +404,7 @@ What do you want to do?
 Supported commands:
 
  * whatsnew
+ * commit
  * push
  * pull
  * get, with options:



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to