/[Frey]/trunk/lib/Frey/SVN.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/SVN.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1076 by dpavlin, Tue Apr 28 22:36:26 2009 UTC revision 1077 by dpavlin, Wed Jun 3 18:19:03 2009 UTC
# Line 346  sub codeswarm_as_markup { Line 346  sub codeswarm_as_markup {
346                          my ($action,$path) = ($p->{'action'},$p->{'content'});                          my ($action,$path) = ($p->{'action'},$p->{'content'});
347                          my $weight = '';                          my $weight = '';
348                          if ( my $s = $e->{diff_paths}->{$path} ) {                          if ( my $s = $e->{diff_paths}->{$path} ) {
349                                  $weight  = $s->{removed}   if defined $s->{removed};                                  $weight  = $s->{removed} || 0;
350                                  $weight += $s->{added} * 2 if defined $s->{added};                                  $weight += $s->{added} * 2 if $s->{added};
351                                  $weight  = qq| weight="$weight" |;                                  $weight  = qq| weight="$weight" |;
352                          }                          }
353                          $file_events .= qq|\t<event filename="$path" date="$date" author="$author"$weight/>\n|;                          $file_events .= qq|\t<event filename="$path" date="$date" author="$author"$weight/>\n|;

Legend:
Removed from v.1076  
changed lines
  Added in v.1077

  ViewVC Help
Powered by ViewVC 1.1.26