I have a script here that generates a diff from a CVS tree, and does
the historically approved thing with ChangeLogs. And it avoids a CVS
bug (got to move to a new CVS server...) And it avoids generated
files.
Ben: you might consider running this to generate your next version of
big-patch, which will avoid the generated files in your output.
: #-*- Perl -*-
eval 'exec perl -w -S $0 ${1+"$@"}' # Portability kludge
if 0; # Author: Martin Buchholz
use strict;
(my $myName = $0) =~ s@.*/@@; my $usage="
Usage: $myName [diff-arg ...]
Make a CVS diff for submission as a patch to the maintainers.\n";
die $usage if grep (/^-h/, @ARGV);
my $debug = defined $ENV{VERBOSE} || defined $ENV{DEBUG};
chomp (my @files = `cvs-mods`);
my @ChangeLogs = grep ( m@(^|/)ChangeLog$@, @files);
@files = grep (! m(a)(^|/)(ChangeLog|configure|depend|auto-autoloads.el|custom-load.el)$@,
@files);
select(STDOUT); $| = 1;
for my $ChangeLog (@ChangeLogs) {
print "\n$ChangeLog:\n\n";
system "cvs diff -w @ARGV $ChangeLog | sed -n 's/^\+//p' | grep -v
'^\\+\\+\\+'";
}
print "\n";
# cvs has an evil bug that if I give a list of files containing both
# files in the current directory and in subdirectories, cvs ignores
# the files in the current directory.
sub Diff {
@_ = ('cvs', 'diff', '-w', @_);
die "Can't fork: $!\n" unless defined (my $pid = fork());
if ($pid == 0) { exec @_ or die "Can't exec @_: $!\n"; }
waitpid($pid,0);
}
Diff grep ( m@/@, @files) if grep ( m@/@, @files);
Diff grep (! m@/@, @files) if grep (! m@/@, @files);
Show replies by date
The ilisp package for xemacs (comprising of ilisp-5.10.1 source plus a
bug fix) is ready to uploaded for beta-testing. Following the advice of
Andreas Jaeger I attempt to upload this to the incoming directory of the
ftp xemacs beta site, but this has failed.
What should I do now,
Best Regards,
Will Deakin
**********************************************************************
This email and its attachments are intended for the above
named only and may be confidential. If they have come to
you in error, you must take no action based on them, nor
must you copy or show them to anyone; please reply to this
email and highlight the error.
Security Warning: Please note that this email has been
created in the knowledge that the internet email is not a
100% secure communications medium. We advise that you
understand and observe this lack of security when emailing us.
Viruses: Although we have taken steps to ensure that this
email and attachments are free from any virus, we advise
that in keeping with good computing practice the recipient
should ensure they are actually virus free.
If you have received this email in error please notify:
postmaster(a)pindar.com
**********************************************************************
Thanks for your help. The ilisp-1.10-pkg is uploaded to beta/incoming.
If there are any problems (I'm not entirely sure that the format of all
the files is correct and the the ChangeLog is a bit minimal) please let
me know and I will sort them.
Anyway, enjoy.
:) will
**********************************************************************
This email and its attachments are intended for the above
named only and may be confidential. If they have come to
you in error, you must take no action based on them, nor
must you copy or show them to anyone; please reply to this
email and highlight the error.
Security Warning: Please note that this email has been
created in the knowledge that the internet email is not a
100% secure communications medium. We advise that you
understand and observe this lack of security when emailing us.
Viruses: Although we have taken steps to ensure that this
email and attachments are free from any virus, we advise
that in keeping with good computing practice the recipient
should ensure they are actually virus free.
If you have received this email in error please notify:
postmaster(a)pindar.com
**********************************************************************