From: Joey Hess Date: Wed, 30 Jan 2008 00:48:30 +0000 (-0500) Subject: rename bazaar -> bzr after discussion with jelmer X-Git-Tag: 2.30~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4284719464cf2ed24546e87e8b4dfb4f36d8be4c;p=ikiwiki.git rename bazaar -> bzr after discussion with jelmer --- diff --git a/IkiWiki/Rcs/bazaar.pm b/IkiWiki/Rcs/bzr.pm similarity index 96% rename from IkiWiki/Rcs/bazaar.pm rename to IkiWiki/Rcs/bzr.pm index 528767099..43822fe8f 100644 --- a/IkiWiki/Rcs/bazaar.pm +++ b/IkiWiki/Rcs/bzr.pm @@ -8,7 +8,7 @@ use open qw{:utf8 :std}; package IkiWiki; -sub bazaar_log ($) { #{{{ +sub bzr_log ($) { #{{{ my $out = shift; my @infos = (); my $key = undef; @@ -102,7 +102,7 @@ sub rcs_recentchanges ($) { #{{{ error($@) if $@; my @ret; - foreach my $info (bazaar_log($out)) { + foreach my $info (bzr_log($out)) { my @pages = (); my @message = (); @@ -129,7 +129,7 @@ sub rcs_recentchanges ($) { #{{{ push @ret, { rev => $info->{"revno"}, user => $user, - committype => "bazaar", + committype => "bzr", when => time - str2time($info->{"timestamp"}), message => [@message], pages => [@pages], @@ -147,7 +147,7 @@ sub rcs_getctime ($) { #{{{ my @cmdline = ("bzr", "log", "--limit", '1', "$config{srcdir}/$file"); open (my $out, "@cmdline |"); - my @log = bazaar_log($out); + my @log = bzr_log($out); if (length @log < 1) { return 0;