X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/c934687bf61031c926d525f0149d4d4fe324269d..d81ade697e3720bb1467c2da088b547b54fba7ae:/mr?ds=sidebyside diff --git a/mr b/mr index 83b5952..29e5fad 100755 --- a/mr +++ b/mr @@ -26,13 +26,11 @@ B [options] action [params ...] =head1 DESCRIPTION -B is a Multiple Repository management tool. It allows you to register a -set of repositories in a .mrconfig file, and then checkout, update, or -perform other actions on the repositories as if they were one big -respository. - -Any mix of revision control systems can be used with B, and you can -define arbitrary actions for commands like "update", "checkout", or "commit". +B is a Multiple Repository management tool. It +can checkout, update, or perform other actions on +a set of repositories as if they were one combined respository. It +supports any combination of subversion, git, cvs, and bzr repositories, +and support for other revision control systems can easily be added. B cds into and operates on all registered repsitories at or below your working directory. Or, if you are in a subdirectory of a repository that @@ -361,7 +359,7 @@ if (! @repos) { $nochdir=1; } -my (@failed, @successful, @skipped); +my (@failed, @ok, @skipped); foreach my $repo (@repos) { action($action, @$repo); } @@ -447,7 +445,7 @@ sub action { } } else { - push @successful, $dir; + push @ok, $dir; } print "\n"; @@ -463,18 +461,18 @@ sub showstat { } return; } -if (! @successful && ! @failed && ! @skipped) { +if (! @ok && ! @failed && ! @skipped) { die "mr $action: no repositories found to work on\n"; } print "mr $action: finished (".join("; ", - showstat($#successful+1, "successful", "successful"), + showstat($#ok+1, "ok", "ok"), showstat($#failed+1, "failed", "failed"), showstat($#skipped+1, "skipped", "skipped"), ).")\n"; if (@failed) { exit 1; } -elsif (! @successful && @skipped) { +elsif (! @ok && @skipped) { exit 1; } exit 0;