Skip Menu |

This queue is for tickets about the VCS CPAN distribution.

Report information
The Basics
Id: 8440
Status: resolved
Priority: 0/
Queue: VCS

People
Owner: greg [...] mccarroll.org.uk
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

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



Subject: ->dates doesn't work.
my $file = VCS::File->new($url); print join "\n", map { $_->date } $file->versions; This will produce a whole bunch of uninit warnings. There's a small mistake in the regex to read the RCS version log. Patch attached.
--- VCS/Cvs.pm 2004/11/15 08:54:17 1.1 +++ VCS/Cvs.pm 2004/11/15 08:54:20 @@ -40,7 +40,7 @@ chdir $cwd; } my @sections = split /\n[=\-]+\n/, $log_text; - @sections = ($sections[0], grep { /^revision $version(?:\s+locked by.*?)\n/ } @sections) + @sections = ($sections[0], grep { /^revision $version(?:\s+locked by.*?)?\n/ } @sections) if $version; #map { print "SEC: $_\n" } @sections; @sections;
Thanks! Applied as commit ab5dd15ee8fdf13e8b9bfc0609cce00d444689f0.