sub rcs_recentchanges ($) { #{{{
my ($num) = @_;
- eval q{use CGI 'escapeHTML'};
- error($@) if $@;
-
my @cmdline = ("hg", "-R", $config{srcdir}, "log", "-v", "-l", $num,
"--style", "default");
open (my $out, "@cmdline |");
$user =~ s/^\s*//;
push @ret, {
- id => $info->{"changeset"},
+ rev => $info->{"changeset"},
user => $user,
committype => "mercurial",
- when => time - str2time($info->{"date"}),
+ when => str2time($info->{"date"}),
message => [@message],
pages => [@pages],
};
return @ret;
} #}}}
-sub rcs_notify () { #{{{
+sub rcs_diff ($) { #{{{
# TODO
} #}}}