On Sat, 7 Apr 2001 13:19:46 -0700, Jose Alberto Fernandez wrote: >Hi guys and gals, > >I finally remember what is the trick to make "cvs -N -u" work as I said. > >CVS will only look at files in the repository, so technically you would need >to do a "cvs add file" for "cvs diff" to work correctly. So since most of us >do not have commit permission you need to trick CVS by editing the >corresponding CVS/Entries file and add an entry for each one of your new >files. Run cvs-diff and then put everyting back. > >That's it, the entry format is preaty simple, but I do not remember the >details. If someone can do a cvs add on some CVS repository and look at the >resulting entry, that is all is needed. >
Yeah, the change is pretty easy. But its easy to mess up as well. Sure would be nice to have this automated. My current solution is to cut and paste all the ? file lines to a text file. I then use Ant to build a zip based on that file. I send the diff as a second file. I keep thinking about adding something to WinCvs to build this file list for me, but Perl is not my bag baby... We sure need something better than this (IMHO) d >Jose Alberto > > >> -----Original Message----- >> From: Simeon Fitch [mailto:[EMAIL PROTECTED] >> Sent: Thursday, April 05, 2001 5:52 AM >> To: [EMAIL PROTECTED] >> Subject: -N option to CVS (was Re: [SUBMIT] resubmit of >> <recorder> with >> small changes) >> >> >> >> --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: >> > Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote: >> > >> > > cvs diff -N -u >> > > >> > > This will include in the diff output the content of new files so >> > > that the patch command will create them. >> > >> > I'm sure I once tried that and it didn't work. >> > >> > No, just tried it again (creating a new file bla in Ant's >> main dir and >> > running cvs diff -N -u in there), all you get is a line >> starting with >> > "?" for the new file. >> > >> >> Jose, what's the trick? This is exactly the feature I've been wanting >> (don't like having to collect up all the new files). >> >> Simeon >> >> >> ===== >> /** >> * @author Simeon H.K. Fitch >> * @organization Mustard Seed Software >> * @see http://www.mustardseedsoftware.com >> * @mail mailto:[EMAIL PROTECTED] >> * @fax 1.309.424.4982 >> */ >> >> __________________________________________________ >> Do You Yahoo!? >> Get email at your own domain with Yahoo! Mail. >> http://personal.mail.yahoo.com/ >> > > >_________________________________________________________ >Do You Yahoo!? >Get your free @yahoo.com address at http://mail.yahoo.com > >
