From 6ef917ef2259b269992265f37adc56217256db16 Mon Sep 17 00:00:00 2001 From: agriffis Date: Tue, 9 Nov 2004 14:34:21 +0000 Subject: [PATCH] change "cvs diff -fU 0" => "cvs -f diff U0" because -f is a global option, not a diff option svn path=/; revision=168 --- trunk/src/echangelog/ChangeLog | 4 ++++ trunk/src/echangelog/echangelog | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/trunk/src/echangelog/ChangeLog b/trunk/src/echangelog/ChangeLog index 059d937..26ea9b4 100644 --- a/trunk/src/echangelog/ChangeLog +++ b/trunk/src/echangelog/ChangeLog @@ -1,3 +1,7 @@ +09 Nov 2004 Aron Griffis + * change "cvs diff -fU 0" => "cvs -f diff U0" because -f is a + global option, not a diff option + 08 Nov 2004 Aron Griffis * call cvs with -f to refrain from using .cvsrc, which might contain conflicting options diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index 65b2edd..01b77f4 100644 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -53,6 +53,7 @@ if (-f 'ChangeLog') { # Figure out what has changed around here open C, 'cvs -fn up 2>&1 |' or die "Can't run cvs -fn up: $!\n"; while () { + #print STDERR "cvs: $_"; /ChangeLog/ and next; /^\? (\S+)/ and push @unknown, $1; /^([ARMC]) (\S+)/ or next; @@ -72,10 +73,13 @@ EOT # the changed files we have @ebuilds = grep /\.ebuild$/, @files; @files = grep !/\.ebuild$/, @files; +#print STDERR '@ebuilds = [', join('],[', @ebuilds), "]\n"; +#print STDERR '@files = [', join('],[', @files), "]\n"; if (@ebuilds) { - open C, "cvs diff -fU 0 @ebuilds 2>&1 |" or die "Can't run cvs diff: $!\n"; + open C, "cvs -f diff -U0 @ebuilds 2>&1 |" or die "Can't run cvs diff: $!\n"; $_ = ; while (defined $_) { + #print STDERR "cvs: $_"; if (/^cvs diff: (([^\/]*?)\.ebuild) was removed/) { push @files, $1; $versions{$2} = 0; # existing ebuild that was removed -- 2.26.2