I just tried that, but the result is the same, one entry in the patch file for the directory diff. (The source file is, of course, of non-zero length ;))
Have I missed some kind of add element stage (that's what I'd do with clearcase) - I did some google searches but could not seem to find an equivalent. Appreciate your help on this..... On Tue, 12 Aug 2003 15:31:24 -0700, "Nicholas Barratt" <[EMAIL PROTECTED]> said: > Do "cvs diff -uN" to include new or removed files. > > -----Original Message----- > From: Gareth Bryan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 3:29 PM > To: [EMAIL PROTECTED] > Subject: [PATCH] junit testcase for SimpleInstancePool.java > > > Added a junit test case for > org.apache.geronimo.cache.SimpleInstanceCache. > > Comitters: This was partly a learning exercise for me as it's my first > foray into CVS (we use clearcase at work :( ). I was a bit confused > about how to add a new file, I followed the contributors tech guide on > www.apache.org and did a cvs diff -u from the module root. The result of > this is attached as poolTest.patch; but seeing as this only contains the > directory diff info, I thought'd I'd better also attach the actual > source > file. > > Q: Is this the normal way to add a new file (I suspect not)? > Q: If not, what is? > > (FYI: I have checked that my local maven build completes successfully) > > Cheers, > > Gareth > -- > Gareth Bryan > [EMAIL PROTECTED] > > -- > http://www.fastmail.fm - Email service worth paying for. Try it for free > -- Gareth Bryan [EMAIL PROTECTED] -- http://www.fastmail.fm - Does exactly what it says on the tin
