From: Matthias Kilian Date: Sat, 16 Apr 2011 12:58:15 +0000 (+0200) Subject: Add "./sync-all clean" command X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=877816b90b3c17582d32c7ed2ac56dd7042088e5 Add "./sync-all clean" command --- diff --git a/sync-all b/sync-all index 06c183a..7ccc71d 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 * remote set-url [--push] * grep + * clean * reset * config