summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorMatthias Kilian <kili@outback.escape.de>2011-04-16 14:58:15 +0200
committerIan Lynagh <igloo@earth.li>2011-04-20 22:05:09 +0100
commit877816b90b3c17582d32c7ed2ac56dd7042088e5 (patch)
tree99cc5f9e443db78f109a2d6592e9da2d2ba94708 /sync-all
parent25fa4bdbff4a84d6717c4ff7cdf7080687616818 (diff)
downloadhaskell-877816b90b3c17582d32c7ed2ac56dd7042088e5.tar.gz
Add "./sync-all clean" command
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 06c183af25..7ccc71d221 100755
--- 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