X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=sync-all;h=8b41c97711ad3f2ea147af18984e3d65679b0ae2;hp=c9c4dc450345adfcb1dffe85a8109e2334eb4007;hb=cbd7463c986d54422de15cb3b56184de116ef7ba;hpb=72bebc47dbee2eb5435ea8eed512bc5dfc01b7a6 diff --git a/sync-all b/sync-all index c9c4dc4..8b41c97 100755 --- a/sync-all +++ b/sync-all @@ -366,6 +366,9 @@ sub scmall { my @scm_args = ("log", "$branch_name.."); scm ($localpath, $scm, @scm_args, @args); } + elsif ($command =~ /^log$/) { + scm ($localpath, $scm, "log", @args); + } elsif ($command =~ /^remote$/) { my @scm_args; if ($subcommand eq 'add') { @@ -378,6 +381,8 @@ sub scmall { scm ($localpath, $scm, @scm_args, @args); } elsif ($command =~ /^checkout$/) { + # Not all repos are necessarily branched, so ignore failure + $ignore_failure = 1; scm ($localpath, $scm, "checkout", @args) unless $scm eq "darcs"; } @@ -432,6 +437,7 @@ Supported commands: * clean * reset * config + * log Available package-tags are: END