Skip Menu |

This queue is for tickets about the Kwiki-Archive-Cvs CPAN distribution.

Report information
The Basics
Id: 13846
Status: resolved
Priority: 0/
Queue: Kwiki-Archive-Cvs

People
Owner: Nobody in particular
Requestors: rueycheng [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Couldn't parse rlog:\n\nRCS file: ....
Kwiki 0.38, Spiffy 0.24, Kwiki::Archive::Cvs 0.1 Problem * The revision number $rev should always start with major version number 1. Kwiki::Archive::Cvs::fetch_metadata() would cause problems as follow. Couldn't parse rlog:\n\nRCS file: ... [snip] Quick fix ----------------------------------------------------------------- sub fetch_metadata { my $page = shift; my $rev = shift; - my $rlog = io("cvs -Q -d ".$self->cvsRoot($page)." log -r$rev ".$page->io." |") or die $!; + my $rlog = io("cvs -Q -d ".$self->cvsRoot($page)." log -r1.$rev ".$page->io." |") or die $!; $rlog->utf8 if $self->use_utf8; $self->parse_metadata($rlog->all); } -----------------------------------------------------------------
Thanks for this. Finally applied!