use short names in comittype

Use mtn for monontone and hg for mercurial. The long names cause ugly
formatting in recentchanges, which has CSS that only allows a few
characters for the commit type column.
master
Joey Hess 2009-01-17 13:39:53 -05:00
parent df9ba9fb1a
commit 4bede22e4f
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ sub rcs_recentchanges ($) {
push @ret, {
rev => $info->{"changeset"},
user => $user,
committype => "mercurial",
committype => "hg",
when => str2time($info->{"date"}),
message => [@message],
pages => [@pages],

View File

@ -559,7 +559,7 @@ sub rcs_recentchanges ($) {
if ($cert->{key} eq $config{mtnkey}) {
$committype = "web";
} else {
$committype = "monotone";
$committype = "mtn";
}
} elsif ($cert->{name} eq "date") {
$when = str2time($cert->{value}, 'UTC');