#
# The PlaQui Development Team
-my %hash, %users, $texto. $max;
+my %hash, %users, %commits, $texto. $max;
if (shift eq "-d") {
$texto = `svn log > ChangeLog`;
@datos = split(/ /, $line);
$hash{$datos[5]}++;
$users{$datos[5]}{$datos[3]}++;
+ $commits{$datos[3]}++;
if ($hash{$datos[5]} > $max) {
$max = $hash{$datos[5]};
}
print "\n";
print "Cantidad de commits por usuario:\n";
-print `egrep "rev [0-9]+" ChangeLog | awk '{print \$3}' | sort | uniq -c | sort -r`;
+foreach $user (sort keys %commits) {
+ print "\t$user\t$commits{$user}\n";
+}
print "\n";
print "( ) = Máximo/s Commiteador/es del Día | ";
print "* == 2 Commit\n";