Subject: | module_list fails: cvs update command output not recognized |
The output of the cvs update command is not recognized properly, at
least the output of the sourceforge.net cvs servers. This leads to the
module_list method always reporting no modules.
Attached is a patch.
Subject: | Update.pm-regex-fix.diff |
--- Cvs/Command/Update.pm.orig 2007-02-20 19:39:21.000000000 +0100
+++ Cvs/Command/Update.pm 2007-02-20 19:40:13.000000000 +0100
@@ -64,9 +64,9 @@
);
$main->push_handler
(
- qr/^cvs server: New directory `(.*)' -- ignored$/, sub
+ qr/^cvs (server|update): New directory `(.*)' -- ignored$/, sub
{
- $result->push_ignored_directory(shift->[1]);
+ $result->push_ignored_directory(shift->[2]);
}
);
return $self;