]> sipb.mit.edu Git - ikiwiki.git/commitdiff
rename bazaar -> bzr after discussion with jelmer
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 30 Jan 2008 00:48:30 +0000 (19:48 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 30 Jan 2008 00:48:30 +0000 (19:48 -0500)
IkiWiki/Rcs/bzr.pm [moved from IkiWiki/Rcs/bazaar.pm with 96% similarity]

similarity index 96%
rename from IkiWiki/Rcs/bazaar.pm
rename to IkiWiki/Rcs/bzr.pm
index 528767099dfe6c39a7e2f86a4598a04a4b64730b..43822fe8ffad4cc7fe2f73689d0d97b3c8f757fa 100644 (file)
@@ -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;