For those of you who don't know it, there's a really good tool for
generating your patches that'll make sure you handle new and deleted
files and other things that diff doesn't normally handle well,
properly. The tool's name is makepatch. You can find it at
<URL:ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/JV/>, and
there's also a Debian package.
Here's the command I use:
#!/bin/bash
UPSTREAM=upstream
WORKING=working
set -e
cd ~/gnucash
rm -f gnucash.diff.gz gnucash.diff.gz.uue
find -name ".#*" | xargs rm -f
makepatch --diff "diff -u" --exclude-vc ${UPSTREAM} ${WORKING} > gnucash.diff
gzip -9vf gnucash.diff
uuencode gnucash.diff.gz < gnucash.diff.gz > gnucash.diff.gz.uue
exit $?
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]