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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/0cb84f30414275484a23fffeb9d4db1f54808d4f

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

commit 0cb84f30414275484a23fffeb9d4db1f54808d4f
Author: Simon Marlow <[email protected]>
Date:   Fri Apr 1 15:03:27 2011 +0100

    add "./sync-all fetch" and "./sync-all new"
    
    ./sync-all fetch
    
      Fetches remote changes from the "origin" for each sub-repo.  Useful
      before "./sync-all new".
    
      (Runs 'git fetch origin' on all sub-repos.)
    
    ./sync-all new
    
      Lists the new patches relative to "origin" for each sub-repo.
      You probably want to './sync-all fetch' first.
    
      (Runs 'git log origin..' on all sub-repos)

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

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

diff --git a/sync-all b/sync-all
index 7bb8016..d89e439 100755
--- a/sync-all
+++ b/sync-all
@@ -241,6 +241,12 @@ sub scmall {
             elsif ($command =~ /^set-origin$/) {
                 @scm_args = ("remote", "set-url", "origin", $path);
             }
+            elsif ($command =~ /^fetch$/) {
+                @scm_args = ("fetch", "origin");
+            }
+            elsif ($command =~ /^new$/) {
+                @scm_args = ("log", "origin..");
+            }
             else {
                 die "Unknown command: $command";
             }
@@ -333,8 +339,10 @@ Supported commands:
   * --<package-tag>
   * --complete
   * --partial
+ * fetch
  * send
  * set-origin
+ * new
 
 Available package-tags are:
 END



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

Reply via email to