summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki7
1 files changed, 6 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index e684ce38a..abeda29c2 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -446,13 +446,18 @@ sub rcs_recentchanges ($) { #{{{
$state='body';
}
elsif ($state eq 'body' && /$div/) {
+ my $committype="web";
if (defined $message[0] &&
$message[0]->{line}=~/^web commit by (\w+)(.*)/) {
- $user="$1 (web)";
+ $user="$1";
$message[0]->{line}=$2;
}
+ else {
+ $committype="svn";
+ }
push @ret, { rev => $rev, user => $user,
+ commitype => $commitype,
when => $when, message => [@message],
pages => [@pages] } if @pages;
return @ret if @ret >= $num;