my (@files, @ebuilds, @conflicts, @trivial, @unknown, @new_versions, %actions);
my ($input, $editor, $entry, $user, $date, $text, $version, $year, $vcs);
-my %vcs = ( cvs => { diff => "cvs -f -U0 diff",
+my %vcs = ( cvs => { diff => "cvs -f diff -U0",
status => "cvs -fn up",
add => "cvs -f add",
skip => 6,
if ($vcs eq "git") {
open C, $vcs{$vcs}{diff}." 2>&1 |" or die "Can't run: ".$vcs{$vcs}{diff}."$!\n";
} else {
- open C, $vcs{$vcs}{diff}."@ebuilds 2>&1 |" or die "Can't run: ".$vcs{$vcs}{diff}."$!\n";
+ open C, $vcs{$vcs}{diff}." @ebuilds 2>&1 |" or die "Can't run: ".$vcs{$vcs}{diff}."$!\n";
}
$_ = <C>;
while (defined $_) {
# and we have the next line in $_ for processing
next;
}
- elsif (/^$vcs*?: (([^\/]*?)\.ebuild) is a new entry/) {
+ elsif (/^$vcs.*?: (([^\/]*?)\.ebuild) is a new entry/) {
push @files, $1;
push @new_versions, $2; # new ebuild, will create a new entry
}