problem with diff -N


Subject: problem with diff -N
From: sam th (sam@uchicago.edu)
Date: Mon Oct 23 2000 - 19:40:51 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As the nightly build manager for AbiWord, I recieved a request for diff's
between the latest released source and the current cvs source. CVS makes
this easy to generate, so I added it. Then it turned out that this didn't
include the newly added files, so I added the -N command (which I have
always used for GNU diff).

That's when it didn't work. I turns out that the -N command does generate
diffs for the new files, but it doesn't do them in the nice way that GNU
diff does. Instead, it labels the old file as /dev/null and the new file
as a randomly named denizen of /tmp. Needless to say, this doesn't make
patch too happy (even it isn't that smart).

My question is, is there any way around this? Can I generate the diffs
that I have been asked for, with reasonable file names? This works just
fine diffing the checked-out copy and a new copy, with GNU diff. Is there
any way to accomplish this with CVS diff?

Thanks

           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE59NqUt+kM0Mq9M/wRAgQvAKDYvjI1xtKFNa9HLodMMN7H6awH1wCfY6jN
KYIavkCG9HKd6P3C4sPsLWI=
=gtw1
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Mon Oct 23 2000 - 19:37:38 CDT