Add "./sync-all clean" command
authorMatthias Kilian <kili@outback.escape.de>
Sat, 16 Apr 2011 12:58:15 +0000 (14:58 +0200)
committerIan Lynagh <igloo@earth.li>
Wed, 20 Apr 2011 21:05:09 +0000 (22:05 +0100)
sync-all

index 06c183a..7ccc71d 100755 (executable)
--- a/sync-all
+++ b/sync-all
@@ -389,6 +389,10 @@ sub scmall {
             scm ($localpath, $scm, "grep", @args)
                 unless $scm eq "darcs";
         }
+        elsif ($command =~ /^clean$/) {
+            scm ($localpath, $scm, "clean", @args)
+                unless $scm eq "darcs";
+        }
         elsif ($command =~ /^reset$/) {
             scm ($localpath, $scm, "reset", @args)
                 unless $scm eq "darcs";
@@ -426,6 +430,7 @@ Supported commands:
  * remote rm <branch-name>
  * remote set-url [--push] <branch-name>
  * grep
+ * clean
  * reset
  * config